mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #182844 from misuzu/nix-serve-aarch64-darwin
nix.perl-bindings: fix build on aarch64-darwin
This commit is contained in:
commit
11c30306c0
@ -213,7 +213,7 @@ self = stdenv.mkDerivation {
|
||||
passthru = {
|
||||
inherit aws-sdk-cpp boehmgc;
|
||||
|
||||
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; });
|
||||
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; inherit Security; });
|
||||
};
|
||||
};
|
||||
in self
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, perl
|
||||
, pkg-config
|
||||
, curl
|
||||
@ -8,6 +9,7 @@
|
||||
, autoreconfHook
|
||||
, autoconf-archive
|
||||
, nlohmann_json
|
||||
, Security
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -16,6 +18,8 @@ stdenv.mkDerivation {
|
||||
|
||||
postUnpack = "sourceRoot=$sourceRoot/perl";
|
||||
|
||||
buildInputs = lib.optional (stdenv.isDarwin) Security;
|
||||
|
||||
# This is not cross-compile safe, don't have time to fix right now
|
||||
# but noting for future travellers.
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user