mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
9d2ed0a7d3
This should make `_NIX_TEST_ACCEPT=1` work again, fixing #11369. Progress on #2503
20 lines
328 B
Nix
20 lines
328 B
Nix
{ destFile, seed }:
|
|
|
|
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/config.nix";
|
|
|
|
mkDerivation {
|
|
name = "simple";
|
|
__sandboxProfile = ''
|
|
# Allow writing any file in the filesystem
|
|
(allow file*)
|
|
'';
|
|
inherit seed;
|
|
buildCommand = ''
|
|
(
|
|
set -x
|
|
touch ${destFile}
|
|
touch $out
|
|
)
|
|
'';
|
|
}
|