about summary refs log blame commit diff
path: root/tests/gc-runtime.nix.in
blob: 310d44ce8b496521efedd5d62508af2e87503680 (plain) (tree)
1
2
3
4
5
6
7
8


                                        
                                          


                        
          













                               
 
let {

  # Test inline source file definitions.
  builder = builtins.toFile "builder.sh" "
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@";
  };

}