Merge pull request #178689 from trofi/configurePlatform-luarocks

luarocks: explicitly set 'configurePlatforms = [ ];'
This commit is contained in:
7c6f434c 2022-07-01 16:46:18 +00:00 committed by GitHub
commit 4090c100c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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