premake5: fix build on darwin
This commit is contained in:
parent
6057d74d1c
commit
c9a03d9b48
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, CoreServices }:
|
||||
{ stdenv, fetchFromGitHub, Foundation, readline }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1h3hr96pdz94njn4bg02ldcz0k5j1x017d8svc7fdyvl2b77nqzf";
|
||||
};
|
||||
|
||||
buildInputs = optional stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = optionals stdenv.isDarwin [ Foundation readline ];
|
||||
|
||||
patchPhase = optional stdenv.isDarwin ''
|
||||
substituteInPlace premake5.lua \
|
||||
|
@ -7558,7 +7558,7 @@ with pkgs;
|
||||
premake4 = callPackage ../development/tools/misc/premake { };
|
||||
|
||||
premake5 = callPackage ../development/tools/misc/premake/5.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
premake = premake4;
|
||||
|
Loading…
Reference in New Issue
Block a user