Merge pull request #182844 from misuzu/nix-serve-aarch64-darwin

nix.perl-bindings: fix build on aarch64-darwin

authored by

Stig and committed by
GitHub
11c30306 387fef61

+5 -1
+1 -1
pkgs/tools/package-management/nix/common.nix
··· 213 213 passthru = { 214 214 inherit aws-sdk-cpp boehmgc; 215 215 216 - perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; }); 216 + perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; inherit Security; }); 217 217 }; 218 218 }; 219 219 in self
+4
pkgs/tools/package-management/nix/nix-perl.nix
··· 1 1 { stdenv 2 + , lib 2 3 , perl 3 4 , pkg-config 4 5 , curl ··· 8 9 , autoreconfHook 9 10 , autoconf-archive 10 11 , nlohmann_json 12 + , Security 11 13 }: 12 14 13 15 stdenv.mkDerivation { ··· 15 17 inherit (nix) version src; 16 18 17 19 postUnpack = "sourceRoot=$sourceRoot/perl"; 20 + 21 + buildInputs = lib.optional (stdenv.isDarwin) Security; 18 22 19 23 # This is not cross-compile safe, don't have time to fix right now 20 24 # but noting for future travellers.