diff options
-rw-r--r-- | modules/user/aszlig/programs/taalo-build/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/programs/taalo-build/default.nix b/modules/user/aszlig/programs/taalo-build/default.nix index 3e89436a..55356e9f 100644 --- a/modules/user/aszlig/programs/taalo-build/default.nix +++ b/modules/user/aszlig/programs/taalo-build/default.nix @@ -63,6 +63,7 @@ let #!${pkgs.stdenv.shell} if tmpdir="$("${pkgs.coreutils}/bin/mktemp" -d -t taalo-build.XXXXXX)"; then trap "rm -rf '$tmpdir'" EXIT + set -o pipefail drvs="$(nix-instantiate --add-root "$tmpdir/derivation" --indirect "$@" \ | cut -d'!' -f1)" || exit 1 ${backend} $("${pkgs.coreutils}/bin/readlink" $drvs) |