mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
odin: fix build on darwin
This commit is contained in:
parent
0028fc6a5e
commit
2fc8b1e83f
@ -4,6 +4,7 @@
|
||||
, makeBinaryWrapper
|
||||
, libiconv
|
||||
, MacOSX-SDK
|
||||
, Security
|
||||
, which
|
||||
}:
|
||||
|
||||
@ -25,7 +26,10 @@ in stdenv.mkDerivation rec {
|
||||
makeBinaryWrapper which
|
||||
];
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
Security
|
||||
];
|
||||
|
||||
LLVM_CONFIG = "${llvmPackages.llvm.dev}/bin/llvm-config";
|
||||
|
||||
|
@ -27636,6 +27636,7 @@ with pkgs;
|
||||
|
||||
odin = callPackage ../development/compilers/odin {
|
||||
inherit (pkgs.darwin.apple_sdk_11_0) MacOSX-SDK;
|
||||
inherit (pkgs.darwin.apple_sdk_11_0.frameworks) Security;
|
||||
};
|
||||
|
||||
odp-dpdk = callPackage ../os-specific/linux/odp-dpdk { };
|
||||
|
Loading…
Reference in New Issue
Block a user