about summary refs log blame commit diff
path: root/tests/multiple-outputs.sh
blob: f4cd01234c5b56c49a7ca92987d5b1a9daa4434d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                               
source common.sh

echo "Testing multiple outputs..."

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

echo "derivation is $drvPath"

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

echo "output path is $outPath"

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