about summary refs log blame commit diff
path: root/tests/simple.sh
blob: 68da000d19f4493e70776237562e4503d1a8e71a (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                
storeExpr=$($TOP/src/nix-instantiate/nix-instantiate simple.nix)

echo "store expr is $storeExpr"

outPath=$($TOP/src/nix-store/nix-store -qnfvvvvv "$storeExpr")

echo "output path is $outPath"

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