diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-12-16 19:11:47 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-16 19:11:47 +0100 |
commit | 54bf5ba4227a234f8cd5102634b9a3b535e6fbdb (patch) | |
tree | 39878e4f41297705b5a8b637ed094c0998e8eca1 /tests/nix-build.sh | |
parent | 14d82baba4ebb82df28c2d4e9517f8c3a81d8f6c (diff) |
nix-store -r: Handle symlinks to store paths
Fixes #3270.
Diffstat (limited to 'tests/nix-build.sh')
-rw-r--r-- | tests/nix-build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/nix-build.sh b/tests/nix-build.sh index 395264863..0eb599608 100644 --- a/tests/nix-build.sh +++ b/tests/nix-build.sh @@ -23,3 +23,6 @@ outPath2=$(nix-build $(nix-instantiate dependencies.nix) --no-out-link) outPath2=$(nix-build $(nix-instantiate dependencies.nix)!out --no-out-link) [[ $outPath = $outPath2 ]] + +outPath2=$(nix-store -r $(nix-instantiate --indirect --add-root $TEST_ROOT/indirect dependencies.nix)!out) +[[ $outPath = $outPath2 ]] |