mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
f29e7867a9
This reverts commitaeffdeffc8
, reversing changes made to723fdeb4f1
.
20 lines
287 B
Nix
20 lines
287 B
Nix
{ destFile, seed }:
|
|
|
|
with import ./config.nix;
|
|
|
|
mkDerivation {
|
|
name = "simple";
|
|
__sandboxProfile = ''
|
|
# Allow writing any file in the filesystem
|
|
(allow file*)
|
|
'';
|
|
inherit seed;
|
|
buildCommand = ''
|
|
(
|
|
set -x
|
|
touch ${destFile}
|
|
touch $out
|
|
)
|
|
'';
|
|
}
|