mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +02:00
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
|
||
|
)
|
||
|
'';
|
||
|
}
|