mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
67d231c046
This reverts commit619eeb658a
, reversing changes made to1af94bf471
.
19 lines
328 B
Nix
19 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
|
|
)
|
|
'';
|
|
}
|