luarocks: explicitly set 'configurePlatforms = [ ];'#178689
luarocks: explicitly set 'configurePlatforms = [ ];'#1786897c6f434c merged 1 commit intoNixOS:stagingfrom
Conversation
Without the change build with `config.configurePlatformsByDefault = true`
fails as:
Error: Unknown flag: --build=x86_64-unknown-linux-gnu
|
I dont know about this option I suspect it's about cross-platform compilation (EDIT: I see the issue you linked). |
|
It's a good question. Generally presence of Adding |
|
There has to be a rock that compiles a native library I guess? We can see how this looks like in the wild, maybe |
|
some rockspecs build C libraries via make or cmake e.g. https://luarocks.org/modules/xpol/rapidjson/0.7.1-1 so if luarocks could forward these flags, it may be useful ? |
|
But yeah, would be nice to see if stuff like rapidjson can be cross-compiled with Nixpkgs |
Without the change build with
config.configurePlatformsByDefault = truefails as:
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes