summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/lua-5/default.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-04-27 13:28:54 -0500
committerWill Dietz <w@wdtz.org>2019-04-27 13:39:43 -0500
commit4e09baaaa278f9697df50546d1a71d1fae294f4e (patch)
tree1c6273a583de28068e0646478fa5f2e8a4d91c73 /pkgs/development/interpreters/lua-5/default.nix
parent753e1e0babd1d22677f08ae59c9322cd63de24d5 (diff)
fix lua53Packages.lua
Diffstat (limited to 'pkgs/development/interpreters/lua-5/default.nix')
-rw-r--r--pkgs/development/interpreters/lua-5/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/lua-5/default.nix b/pkgs/development/interpreters/lua-5/default.nix
index efa5d1c2d5a0..fb709227180f 100644
--- a/pkgs/development/interpreters/lua-5/default.nix
+++ b/pkgs/development/interpreters/lua-5/default.nix
@@ -15,11 +15,10 @@ let
in rec {
- lua5_3 = (callPackage ./interpreter.nix {
+ lua5_3 = callPackage ./interpreter.nix {
sourceVersion = { major = "5"; minor = "3"; patch = "5"; };
hash = "0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac";
patches = lib.optionals stdenv.isDarwin [ ./5.2.darwin.patch ] ;
- }).overrideAttrs( oa: {
postConfigure = lib.optionalString (!stdenv.isDarwin) ''
cat ${./lua-5.3-dso.make} >> src/Makefile
sed -e 's/ALL_T *= */& $(LUA_SO)/' -i src/Makefile
@@ -28,7 +27,7 @@ in rec {
postBuild = stdenv.lib.optionalString (!stdenv.isDarwin) ''
( cd src; make $makeFlags "''${makeFlagsArray[@]}" liblua.so )
'';
- });
+ };
lua5_3_compat = lua5_3.override({
compat = true;