mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
15 lines
341 B
Bash
15 lines
341 B
Bash
source common.sh
|
|
|
|
drvPath=$($nixinstantiate parallel.nix)
|
|
|
|
echo "derivation is $drvPath"
|
|
|
|
outPath=$($nixstore -qfvv -j10000 "$drvPath")
|
|
|
|
echo "output path is $outPath"
|
|
|
|
text=$(cat "$outPath")
|
|
if test "$text" != "abacade"; then exit 1; fi
|
|
|
|
if test "$(cat $SHARED.cur)" != 0; then exit 1; fi
|
|
if test "$(cat $SHARED.max)" != 3; then exit 1; fi
|