mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
* 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.
|
||||
if test -n "$buildNix"; then
|
||||
echo "building Nix..." >&2
|
||||
if ! nix-build $NIXOS -A nixFallback -o $tmpDir/nix > /dev/null; then
|
||||
nix-build $NIXPKGS -A nixUnstable -o $tmpDir/nix > /dev/null
|
||||
if ! nix-build $NIXOS -A nixFallback -o $tmpDir/nix $extraBuildFlags > /dev/null; then
|
||||
nix-build $NIXPKGS -A nixUnstable -o $tmpDir/nix $extraBuildFlags > /dev/null
|
||||
fi
|
||||
PATH=$tmpDir/nix/bin:$PATH
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user