lua-5: isMingw -> isMinGW

This commit is contained in:
Will Dietz 2018-01-04 10:57:24 -06:00 committed by John Ericson
parent 7c992cb7af
commit 681555c11c
2 changed files with 6 additions and 6 deletions

View file

@ -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"

View file

@ -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"