mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
zroc-ice: cleanup and fix darwin build
This commit is contained in:
parent
a3ba600366
commit
1ae204d2fa
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, mcpp, bzip2, expat, openssl, db5 }:
|
{ stdenv, fetchFromGitHub, mcpp, bzip2, expat, openssl, db5
|
||||||
|
, darwin, libiconv, Security
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zeroc-ice-${version}";
|
name = "zeroc-ice-${version}";
|
||||||
@ -11,17 +13,20 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "05xympbns32aalgcfcpxwfd7bvg343f16xpg6jv5s335ski3cjy2";
|
sha256 = "05xympbns32aalgcfcpxwfd7bvg343f16xpg6jv5s335ski3cjy2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ mcpp bzip2 expat openssl db5 ];
|
buildInputs = [ mcpp bzip2 expat openssl db5 ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools libiconv Security ];
|
||||||
|
|
||||||
buildPhase = ''
|
postUnpack = ''
|
||||||
cd cpp
|
sourceRoot=$sourceRoot/cpp
|
||||||
make -j $NIX_BUILD_CORES OPTIMIZE=yes
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
prePatch = ''
|
||||||
make -j $NIX_BUILD_CORES prefix=$out install
|
substituteInPlace config/Make.rules.Darwin \
|
||||||
|
--replace xcrun ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
makeFlags = [ "prefix=$(out)" "OPTIMIZE=yes" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -17208,7 +17208,9 @@ with pkgs;
|
|||||||
|
|
||||||
zed = callPackage ../applications/editors/zed { };
|
zed = callPackage ../applications/editors/zed { };
|
||||||
|
|
||||||
zeroc_ice = callPackage ../development/libraries/zeroc-ice { };
|
zeroc_ice = callPackage ../development/libraries/zeroc-ice {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
zexy = callPackage ../applications/audio/pd-plugins/zexy { };
|
zexy = callPackage ../applications/audio/pd-plugins/zexy { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user