* Finally, a test for the binary patch functionality.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{ 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 ""}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user