Merge pull request #4930 from domenkozar/perl-binding-aarch64-darwin

perlBindings: fix build on aarch64-darwin
This commit is contained in:
Domen Kožar 2021-06-22 10:43:00 +02:00 committed by GitHub
commit 4b23bf797a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,8 @@
boost
nlohmann_json
]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium;
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
configureFlags = ''
--with-dbi=${perlPackages.DBI}/${pkgs.perl.libPrefix}