premake5: fix build on darwin

This commit is contained in:
Orivej Desh
2017-12-07 09:41:46 +00:00
parent 6057d74d1c
commit c9a03d9b48
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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 \