blob: 781bd76eba60f2be1b2d852b1ee0a6ea0f4c4b4e (
plain) (
tree)
|
|
{ version }:
with import ./config.nix;
mkDerivation {
name = "foo-${toString version}";
builder = builtins.toFile "builder.sh"
''
mkdir $out
seq 1 1000000 > $out/foo
${if version == 2 then ''
echo bla >> $out/foo
'' else ""}
'';
}
|