Make nix-build args copy-pastable via `set -x`
[?]
Mar 7, 2021, 4:25 AM
YQ6ITVPAZPBMBBVCKQND5XFGI2N4Y4HS6AZ6I2LDBBGXSGOZHEPQCDependencies
- [2]
SM5PVIIJreproduce.tt: Use -I instead of $NIX_PATH - [3]
EE5GSP2Lreproduce.tt: Wrap script to prevent problems piping into bash - [4]
5Q4ZLL37reproduce.tt: Add --help flag - [5]
HZWUT4YNAllow users to reproduce builds on their own systems - [6]
3G7OYUSEreproduce.tt: Check for the presence of commands like nix-build - [7]
CRCZ62JSFix passing arguments to the reproduction script - [8]
TL7KZWSUreproduce.tt: Use color - [9]
UROSQNYPreproduce.tt: Add --print-flags option
Change contents
- replacement in src/root/reproduce.tt at line 213[4.475]→[2.111:152](∅→∅),[2.152]→[4.3567:3568](∅→∅),[4.3567]→[4.3567:3568](∅→∅),[4.3568]→[4.441:487](∅→∅),[4.487]→[3.11:12](∅→∅)
echo "using these flags: ${args[@]}" >&2exec nix-build "${args[@]}" "${extraArgs[@]}"echo "using the following invocation:" >&2set -xnix-build "${args[@]}" "${extraArgs[@]}"