reproduce.tt: Use -I instead of $NIX_PATH
[?]
May 26, 2015, 2:07 PM
SM5PVIIJ2CV7IQ3PCILFMU2SG2CSUWKI3Q664PXM6LL3SFBS4SAQCDependencies
- [2]
TL7KZWSUreproduce.tt: Use color - [3]
4IH6RYSGFix reproduce script - [4]
5Q4ZLL37reproduce.tt: Add --help flag - [5]
PGSSRA7CAdd an input type "nix" for passing arbitrary Nix expressions - [6]
MRINNBYYreproduce.tt: Add option to fetch but not build - [7]
KRQGRRN7Use extra-binary-caches - [8]
3G7OYUSEreproduce.tt: Check for the presence of commands like nix-build - [9]
HZWUT4YNAllow users to reproduce builds on their own systems
Change contents
- edit in src/root/reproduce.tt at line 67
- edit in src/root/reproduce.tt at line 68
export NIX_PATH= - replacement in src/root/reproduce.tt at line 86
[% inputs = build.inputs.size > 0 ? build.inputs : eval.jobsetevalinputs %][% inputs = build.inputs ? build.inputs : eval.jobsetevalinputs %] - replacement in src/root/reproduce.tt at line 168
NIX_PATH="$NIX_PATH${NIX_PATH:+:}[% input.name %]=$inputDir"args+=(-I [% input.name %]=$inputDir) - replacement in src/root/reproduce.tt at line 192
echo "Nix path is $NIX_PATH" >&2echo "Nix args are ${args[@]}" >&2echo "using these flags: ${args[@]}" >&2