1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

* TDD! Woohoo!

This commit is contained in:
Eelco Dolstra 2006-03-01 14:26:03 +00:00
parent 089c41a0c2
commit b90787290d
5 changed files with 22 additions and 2 deletions

View file

@ -36,6 +36,6 @@ cat $outPath/input-2/bar
# Check that the derivers are set properly.
test $($nixstore -q --deriver "$outPath") = "$drvPath"
$nixstore -q --deriver $(ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv"
$nixstore -q --deriver $(readLink $outPath/input-2) | grep -q -- "-input-2.drv"
$nixstore --clear-substitutes