nixos: fix two pipefail problems

It failed since 3c6efec2c0, i.e. #4453.
Now it should "work" the same as before.
This commit is contained in:
Vladimír Čunát 2014-10-19 19:29:28 +02:00
parent 7c594d4b9e
commit 359dd3b8ac
2 changed files with 3 additions and 0 deletions

View file

@ -31,6 +31,7 @@ let
buildCommand = ''
mkdir -p $out
shopt -s nullglob
set +o pipefail
# Set a reasonable $PATH for programs called by udev rules.
echo 'ENV{PATH}="${udevPath}/bin:${udevPath}/sbin"' > $out/00-path.rules

View file

@ -34,6 +34,8 @@ let
doublePatchelf = pkgs.stdenv.isArm;
}
''
set +o pipefail
mkdir -p $out/bin $out/lib
ln -s $out/bin $out/sbin