mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-28 00:26:15 +02:00
9d2ed0a7d3
This should make `_NIX_TEST_ACCEPT=1` work again, fixing #11369. Progress on #2503
17 lines
331 B
Nix
17 lines
331 B
Nix
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/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
|
|
'';
|
|
}
|