msys2: make prepare argument optional

This commit is contained in:
Sebastien Bourdeauducq 2022-12-28 18:57:22 +08:00
parent 4e7ebfd260
commit 4e3bb3714d
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [