about summary refs log blame commit diff
path: root/tests/multiple-outputs.sh
blob: d3ebdbea3498165fe045609bedd2165d84a33c90 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                  
                                               


                             
                                    





                                             
source common.sh

echo "Testing multiple outputs..."

drvPath=$(nix-instantiate multiple-outputs.nix)

echo "derivation is $drvPath"

outPath=$(nix-store -rvv "$drvPath")

echo "output path is $outPath"

text=$(cat "$outPath"/file)
if test "$text" != "success"; then exit 1; fi