aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-10 01:57:54 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-08-10 01:57:54 +0000
commit1b5c24662b670cc1041794197052b4473e4e47f0 (patch)
tree3b3d3b98fc16b2cc5b236ac567f356c543723895 /tests
parentf7696c66e85008e2b60a579bcdf5ff13c141d0af (diff)
parent581183d4d57d5382e3a375f760f3323ef451f555 (diff)
Merge branch 'small-drv-serialize-cleanup' of github.com:obsidiansystems/nix into single-ca-drv-build
Diffstat (limited to 'tests')
-rw-r--r--tests/binary-cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh
index b05a7d167..fe4ddec8d 100644
--- a/tests/binary-cache.sh
+++ b/tests/binary-cache.sh
@@ -219,7 +219,7 @@ outPath=$(nix-build --no-out-link -E '
nix copy --to file://$cacheDir?write-nar-listing=1 $outPath
diff -u \
- <(jq -S < $cacheDir/$(basename $outPath).ls) \
+ <(jq -S < $cacheDir/$(basename $outPath | cut -c1-32).ls) \
<(echo '{"version":1,"root":{"type":"directory","entries":{"bar":{"type":"regular","size":4,"narOffset":232},"link":{"type":"symlink","target":"xyzzy"}}}}' | jq -S)