forked from M-Labs/artiq-extrapkg
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 $@
|
exec ${pkgs.wineWowPackages.stable}/bin/wine64 $@
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
makeMsys2Package = { name, version, src, prepare, depends }: pkgs.stdenvNoCC.mkDerivation {
|
makeMsys2Package = { name, version, src, depends, prepare ? "" }: pkgs.stdenvNoCC.mkDerivation {
|
||||||
pname = "${name}-msys2-pkg";
|
pname = "${name}-msys2-pkg";
|
||||||
inherit version;
|
inherit version;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in New Issue