perlBindings: fix build on aarch64-darwin

This commit is contained in:
Domen Kožar 2021-06-21 19:40:51 +02:00
parent 7c3cb8506f
commit 9676c9f6a3
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

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}