luarocks: explicitly set 'configurePlatforms = [ ];'
Without the change build with `config.configurePlatformsByDefault = true` fails as: Error: Unknown flag: --build=x86_64-unknown-linux-gnu
This commit is contained in:
parent
a2dbba380b
commit
f59fcefd8d
|
@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace src/luarocks/core/cfg.lua --subst-var-by 'darwinMinVersion' '${stdenv.targetPlatform.darwinMinVersion}'
|
||||
'';
|
||||
|
||||
# Manually written ./configure does not support --build= or --host=:
|
||||
# Error: Unknown flag: --build=x86_64-unknown-linux-gnu
|
||||
configurePlatforms = [ ];
|
||||
|
||||
preConfigure = ''
|
||||
lua -e "" || {
|
||||
luajit -e "" && {
|
||||
|
|
Loading…
Reference in a new issue