about summary refs log blame commit diff
path: root/tests/gc-runtime.nix.in
blob: 4ffe0435aa4dea89a7e24014b7ed969135902269 (plain) (tree)





















                                        
 
let {

  # Test inline source file definitions.
  builder = builtins.toFile "
mkdir $out

cat > $out/program <<EOF
#! $SHELL
sleep 10000
EOF

chmod +x $out/program
";

  body = derivation {
    name = "gc-runtime";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" builder];
    PATH = "@testPath@";
  };

}