aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/gc-runtime.nix
blob: ee5980bdff98c00db4078b04bcf3173796979c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
with import ./config.nix;

mkDerivation {
  name = "gc-runtime";
  builder =
    # Test inline source file definitions.
    builtins.toFile "builder.sh" ''
      mkdir $out

      cat > $out/program <<EOF
      #! ${shell}
      sleep 10000
      EOF

      chmod +x $out/program
    '';
}