mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
* Refactoring: renamed *.nix.in to *.nix.
This commit is contained in:
parent
2d5114452d
commit
51e7e32c3b
22 changed files with 209 additions and 264 deletions
17
tests/gc-runtime.nix
Normal file
17
tests/gc-runtime.nix
Normal file
|
@ -0,0 +1,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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue