mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 04:26:01 +01:00
Example:
error: Cannot delete path '/nix/store/klyng5rpdkwi5kbxkncy4gjwb490dlhb-foo.drv' because it's in use by Nix process '{nix-process:3605324}'.
18 lines
322 B
Nix
18 lines
322 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}
|
|
echo x > \$TEST_ROOT/fifo
|
|
sleep 10000
|
|
EOF
|
|
|
|
chmod +x $out/program
|
|
'';
|
|
}
|