msys2: make prepare argument optional
This commit is contained in:
parent
4e7ebfd260
commit
4e3bb3714d
@ -25,7 +25,7 @@ let
|
||||
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
|
||||
'';
|
||||
in {
|
||||
makeMsys2Package = { name, version, src, prepare, depends }: pkgs.stdenvNoCC.mkDerivation {
|
||||
makeMsys2Package = { name, version, src, depends, prepare ? "" }: pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "${name}-msys2-pkg";
|
||||
inherit version;
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user