mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
80faa2f98a
back the query flag `--force-realise'. * Fixed some of the tests.
17 lines
373 B
Bash
17 lines
373 B
Bash
storeExpr=$($TOP/src/nix-instantiate/nix-instantiate locking.nix)
|
|
|
|
echo "store expr is $storeExpr"
|
|
|
|
for i in 1 2 3 4 5; do
|
|
echo "WORKER $i"
|
|
$TOP/src/nix-store/nix-store -rvv "$storeExpr" &
|
|
done
|
|
|
|
sleep 5
|
|
|
|
outPath=$($TOP/src/nix-store/nix-store -qvvf "$storeExpr")
|
|
|
|
echo "output path is $outPath"
|
|
|
|
text=$(cat "$outPath")
|
|
if test "$text" != "aabcade"; then exit 1; fi
|