1 2 3 4 5 6 7
source common.sh echo "Testing multiple outputs..." outPath=$(nix-build multiple-outputs.nix -A b) echo "output path is $outPath" [ "$(cat "$outPath"/file)" = "success" ]