* Test nix-build. This also tests indirect roots.

This commit is contained in:
Eelco Dolstra 2006-03-01 13:49:12 +00:00
parent 8cd646b6af
commit 5cb6c42088
5 changed files with 24 additions and 4 deletions

View file

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