luaPackages.luaposix: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 02:01:57 +02:00 committed by Martin Weinelt
parent f9df47f16d
commit 2b899ee967
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -22,6 +22,7 @@
, libmysqlclient
, libuuid
, libuv
, libxcrypt
, libyaml
, mariadb
, mpfr
@ -336,6 +337,12 @@ with prev;
];
});
luaposix = prev.luaLib.overrideLuarocks prev.luaposix (drv: {
externalDeps = [
{ name = "CRYPT"; dep = libxcrypt; }
];
});
luasec = prev.luaLib.overrideLuarocks prev.luasec (drv: {
externalDeps = [
{ name = "OPENSSL"; dep = openssl_1_1; }