* Use the build flags given on the command line while building Nix.
svn path=/nixos/trunk/; revision=19799
This commit is contained in:
parent
051e9342b3
commit
6a06118f85
@ -142,8 +142,8 @@ fi
|
|||||||
# more conservative.
|
# more conservative.
|
||||||
if test -n "$buildNix"; then
|
if test -n "$buildNix"; then
|
||||||
echo "building Nix..." >&2
|
echo "building Nix..." >&2
|
||||||
if ! nix-build $NIXOS -A nixFallback -o $tmpDir/nix > /dev/null; then
|
if ! nix-build $NIXOS -A nixFallback -o $tmpDir/nix $extraBuildFlags > /dev/null; then
|
||||||
nix-build $NIXPKGS -A nixUnstable -o $tmpDir/nix > /dev/null
|
nix-build $NIXPKGS -A nixUnstable -o $tmpDir/nix $extraBuildFlags > /dev/null
|
||||||
fi
|
fi
|
||||||
PATH=$tmpDir/nix/bin:$PATH
|
PATH=$tmpDir/nix/bin:$PATH
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user