source common.sh flakeDir=$TEST_ROOT/flake3 mkdir -p $flakeDir cat > $flakeDir/flake.nix < $flakeDir/flake.nix < $flakeDir/flake.nix < $flakeDir/flake.nix < $flakeDir/flake.nix < $flakeDir/flake.nix < $flakeDir/flake.nix <&1 && fail "nix flake check should have failed" || true) echo "$checkRes" | grep -q "packages.system-1.default" echo "$checkRes" | grep -q "packages.system-2.default"