lua-5.4: fix build on darwin (#123028)

This commit is contained in:
Konstantin Alekseev
2021-05-14 16:38:50 -04:00
committed by GitHub
parent f986333023
commit feb867f2fd
2 changed files with 49 additions and 1 deletions
@@ -17,7 +17,7 @@ in rec {
lua5_4 = callPackage ./interpreter.nix {
sourceVersion = { major = "5"; minor = "4"; patch = "2"; };
hash = "0ksj5zpj74n0jkamy3di1p6l10v4gjnd2zjnb453qc6px6bhsmqi";
patches = [
patches = if stdenv.isDarwin then [ ./5.4.darwin.patch ] else [
# build lua as a shared library as well, MIT-licensed from
# https://github.com/archlinux/svntogit-packages/tree/packages/lua/trunk
./liblua.so.patch