summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-01-04 10:57:24 -0600
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-09 11:23:56 -0500
commit681555c11c75337462703c5a2f936fd28ff82e20 (patch)
tree1a677c3bd9bf3f49d218d875e0710d9d9fe6949f /pkgs/development/interpreters
parent7c992cb7af09b1d108ea48683b887506c0c50dc7 (diff)
downloadnixlib-681555c11c75337462703c5a2f936fd28ff82e20.tar
nixlib-681555c11c75337462703c5a2f936fd28ff82e20.tar.gz
nixlib-681555c11c75337462703c5a2f936fd28ff82e20.tar.bz2
nixlib-681555c11c75337462703c5a2f936fd28ff82e20.tar.lz
nixlib-681555c11c75337462703c5a2f936fd28ff82e20.tar.xz
nixlib-681555c11c75337462703c5a2f936fd28ff82e20.tar.zst
nixlib-681555c11c75337462703c5a2f936fd28ff82e20.zip
lua-5: isMingw -> isMinGW
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/lua-5/5.2.nix6
-rw-r--r--pkgs/development/interpreters/lua-5/5.3.nix6
2 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/lua-5/5.2.nix b/pkgs/development/interpreters/lua-5/5.2.nix
index 43e289cd3690..0cdc4770a983 100644
--- a/pkgs/development/interpreters/lua-5/5.2.nix
+++ b/pkgs/development/interpreters/lua-5/5.2.nix
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
   '';
 
   crossAttrs = let
-    inherit (hostPlatform) isDarwin isMingw;
+    inherit (hostPlatform) isDarwin isMinGW;
   in {
     configurePhase = ''
       makeFlagsArray=(
@@ -65,10 +65,10 @@ stdenv.mkDerivation rec {
         INSTALL_MAN=$out/share/man/man1
         V=${luaversion}
         R=${version}
-        ${if isMingw then "mingw" else stdenv.lib.optionalString isDarwin ''
+        ${if isMinGW then "mingw" else stdenv.lib.optionalString isDarwin ''
         ''}
       )
-    '' + stdenv.lib.optionalString isMingw ''
+    '' + stdenv.lib.optionalString isMinGW ''
       installFlagsArray=(
         TO_BIN="lua.exe luac.exe"
         TO_LIB="liblua.a lua52.dll"
diff --git a/pkgs/development/interpreters/lua-5/5.3.nix b/pkgs/development/interpreters/lua-5/5.3.nix
index a512a2513134..ad1dfa8823cb 100644
--- a/pkgs/development/interpreters/lua-5/5.3.nix
+++ b/pkgs/development/interpreters/lua-5/5.3.nix
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
   '';
 
   crossAttrs = let
-    inherit (hostPlatform) isDarwin isMingw;
+    inherit (hostPlatform) isDarwin isMinGW;
   in {
     configurePhase = ''
       makeFlagsArray=(
@@ -64,10 +64,10 @@ stdenv.mkDerivation rec {
         INSTALL_MAN=$out/share/man/man1
         V=${luaversion}
         R=${version}
-        ${if isMingw then "mingw" else stdenv.lib.optionalString isDarwin ''
+        ${if isMinGW then "mingw" else stdenv.lib.optionalString isDarwin ''
         ''}
       )
-    '' + stdenv.lib.optionalString isMingw ''
+    '' + stdenv.lib.optionalString isMinGW ''
       installFlagsArray=(
         TO_BIN="lua.exe luac.exe"
         TO_LIB="liblua.a lua52.dll"