diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2021-12-29 15:34:37 +0100 |
---|---|---|
committer | Joerie de Gram <j.de.gram@gmail.com> | 2021-12-30 14:54:30 +0100 |
commit | 24b26ce79ead1ef985b04ac6f2947a369a68f75e (patch) | |
tree | 1dea3d8ec4d2202277125048d56e4d5eb08ddf0b /pkgs/development/interpreters/spidermonkey/78.nix | |
parent | c1792db42df222b0ec570bd774488f48aa0c91b1 (diff) |
spidermonkey_91: fix cross compilation
The configurePlatforms mkDerivation parameter needs to be an empty list to avoid bogus defaults from breaking cross compilation. Document the parameter to prevent it from being cleaned up.
Diffstat (limited to 'pkgs/development/interpreters/spidermonkey/78.nix')
-rw-r--r-- | pkgs/development/interpreters/spidermonkey/78.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/spidermonkey/78.nix b/pkgs/development/interpreters/spidermonkey/78.nix index cd745c5ba9e03..b4ed171eb78c4 100644 --- a/pkgs/development/interpreters/spidermonkey/78.nix +++ b/pkgs/development/interpreters/spidermonkey/78.nix @@ -92,6 +92,8 @@ stdenv.mkDerivation rec { "--target=${stdenv.hostPlatform.config}" ]; + # mkDerivation by default appends --build/--host to configureFlags when cross compiling + # These defaults are bogus for Spidermonkey - avoid passing them by providing an empty list configurePlatforms = [ ]; depsBuildBuild = [ buildPackages.stdenv.cc ]; |