about summary refs log blame commit diff
path: root/tests/simple.sh
blob: 225e7c52249867746ae70d99af8c11493c0a496b (plain) (tree)
1
2
3
4
5
6
7

                
                                     
 
                             
 
                                    




                                                  
source common.sh

drvPath=$($nixinstantiate simple.nix)

echo "derivation is $drvPath"

outPath=$($nixstore -rvv "$drvPath")

echo "output path is $outPath"

text=$(cat "$outPath"/hello)
if test "$text" != "Hello World!"; then exit 1; fi