mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
18 lines
290 B
Nix
18 lines
290 B
Nix
|
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
|
||
|
'';
|
||
|
}
|