mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
fondu: fix darwin build
This commit is contained in:
parent
ab6176ac5b
commit
b80a8e34c7
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, CoreServices }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "060102";
|
||||
@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2";
|
||||
};
|
||||
|
||||
postConfigure = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile --replace /System/Library/Frameworks/CoreServices.framework/CoreServices "-framework CoreServices"
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
@ -4003,7 +4003,9 @@ with pkgs;
|
||||
jdk = openjdk8;
|
||||
};
|
||||
|
||||
fondu = callPackage ../tools/misc/fondu { };
|
||||
fondu = callPackage ../tools/misc/fondu {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
fpp = callPackage ../tools/misc/fpp { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user