diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-06-04 17:18:08 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-06-04 17:18:08 +0200 |
commit | e2b1c14af1ce22117eb213c5d8153bb1aa3a3a2a (patch) | |
tree | f7203c43d7257f071396c13dc551d8557de77c88 /modules/user/aszlig | |
parent | 0def06f47d58ab21f81eba67b51283e5ba7647d2 (diff) |
programs/taalo-build: Handle multiple outputs
We need to split off the !output from the derivation name returned by nix-instantiate, because we can't realize such a path. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig')
-rw-r--r-- | modules/user/aszlig/programs/taalo-build/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/aszlig/programs/taalo-build/default.nix b/modules/user/aszlig/programs/taalo-build/default.nix index 6e3ee86e..93523660 100644 --- a/modules/user/aszlig/programs/taalo-build/default.nix +++ b/modules/user/aszlig/programs/taalo-build/default.nix @@ -61,7 +61,7 @@ let taalo-build = pkgs.writeScriptBin "taalo-build" '' #!${pkgs.stdenv.shell} - drvs="$(nix-instantiate "$@")" || exit 1 + drvs="$(nix-instantiate "$@" | cut -d'!' -f1)" || exit 1 exec ${backend} $drvs ''; |