nix.perl-bindings: fix build on aarch64-darwin
This commit is contained in:
parent
e494a908e8
commit
ecd7a89a7b
@ -213,7 +213,7 @@ self = stdenv.mkDerivation {
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit aws-sdk-cpp boehmgc;
|
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
|
in self
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
|
, lib
|
||||||
, perl
|
, perl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, curl
|
, curl
|
||||||
@ -8,6 +9,7 @@
|
|||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, autoconf-archive
|
, autoconf-archive
|
||||||
, nlohmann_json
|
, nlohmann_json
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -16,6 +18,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postUnpack = "sourceRoot=$sourceRoot/perl";
|
postUnpack = "sourceRoot=$sourceRoot/perl";
|
||||||
|
|
||||||
|
buildInputs = lib.optional (stdenv.isDarwin) Security;
|
||||||
|
|
||||||
# This is not cross-compile safe, don't have time to fix right now
|
# This is not cross-compile safe, don't have time to fix right now
|
||||||
# but noting for future travellers.
|
# but noting for future travellers.
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user