diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-06-05 17:07:57 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-06-05 17:07:57 +0200 |
commit | afa9e7dbec5902c74ed6dceddab224c2bd34a6ad (patch) | |
tree | 4bf0b85bfea2e4b380a9dd7cc144d8ac3d04c444 /pkgs/git-detach/default.nix | |
parent | 8e68d2b9ae4ac0f358d80fed9cc99a84da42ef04 (diff) |
taalo-build: Fix picking up derivation paths
Regression introduced by fba5c2469bd5e95857c4ffd9db3dd0529f2485f3. The derivation paths returned by nix-instantiate are usually valid store paths, except when used with --add-root. In case of the latter, we get the root symlink back, so we need to do an additional readlink on it. We also now pass -t to mktemp so that $TMPDIR or /tmp is used instead of the current working directory. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/git-detach/default.nix')
0 files changed, 0 insertions, 0 deletions