about summary refs log tree commit diff
path: root/pkgs/development/interpreters/spidermonkey
AgeCommit message (Collapse)AuthorFilesLines
2024-02-01pkgsMusl.spidermonkey: fix build on x86_64-linuxAlyssa Ross1-1/+0
rustc 1.73.0 introduced a new x86_64-unikraft-linux-musl target. This triple is a bit of a lie — the kernel in this case is unikraft, which isn't Linux, it just tries to be compatible with it. But this User-Agent-like string of a triple now exists, and with it comes some fallout. Spidermonkey asks rustc for the list of supported targets, then picks the one that best matches the GNU triple it's building for, which in the native case config.guess will say is x86_64-pc-linux-musl. Prior to rustc 1.73.0, all was well, because there was only one x86_64 musl triple, but now there are two: x86_64-unknown-linux-musl, and x86_64-unikraft-linux-musl, and neither of those are obviously closer than the other to x86_64-pc-linux-musl to Spidermonkey's build system. As a result, it can't decide which target to pass to rustc, and bails out. We can fix this by telling Spidermonkey what platform it should be building for, rather than letting it guess, which previously we did only when cross compiling. This approach is already used in the Firefox derivation (which is why it was not affected by the rustc update), so it's been well tested already. Closes: https://github.com/NixOS/nixpkgs/pull/266560 Closes: https://github.com/NixOS/nixpkgs/pull/282923
2023-10-29spidermonkey_91: add patch to allow building with python311Morgan Helton1-0/+6
2023-09-03spidermonkey_115: init at 115.2.0Bobby Rong2-0/+8
Based on https://src.fedoraproject.org/rpms/mozjs115. * js/src/configure.in is gone. * build/cargo-linker is ported to python.
2023-07-04spidermonkey_102: 102.12.0 -> 102.13.0Martin Weinelt1-2/+2
https://www.mozilla.org/en-US/security/advisories/mfsa2023-23/ Fixes: CVE-2023-37202
2023-06-14spidermonkey_102: 102.8.0 -> 102.12.0Martin Weinelt1-2/+2
2023-03-02firefox, spidermonkey: remove NIX_LDFLAGSWeijia Wang1-3/+0
This commit reverts #210859, since aarch64-linux now uses GCC 12 by default.
2023-02-22treewide: move NIX_CFLAGS_COMPILE to the env attrsetArtturin1-1/+1
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
2023-02-14spidermonkey_91: 91.12.0 -> 91.13.0Martin Weinelt1-2/+2
Bringing the 91 release series to its final version. Did not check for changes, but this gives me closure.
2023-02-14spidermonkey_102: 102.1.0 -> 102.8.0Martin Weinelt2-15/+2
https://www.mozilla.org/en-US/security/advisories/mfsa2023-06/#CVE-2023-25735 Fixes: CVE-2023-25735
2023-01-26treewide: mark #201254Weijia Wang1-0/+1
2023-01-13spidermonkey: fixup build on aarch64-linuxVladimír Čunát1-0/+2
All three versions are the same in this respect. It's the issue with old libgcc_s propagated via our glibc package; e.g. https://github.com/NixOS/nixpkgs/pull/209113
2022-10-10treewide: optional -> optionals where the argument is a listArtturin1-1/+1
the argument to optional should not be list
2022-09-25spidermonkey: fix i686 buildsg20022-0/+19
2022-08-10spidermonkey_*: fix build under macOSKirill A. Korinsky3-1/+77
2022-08-10spidermonkey_*: remove useless dependencyKirill A. Korinsky1-2/+0
2022-08-10spidermonkey_*: add myself as a maintainerKirill A. Korinsky1-1/+1
2022-08-10spidermonkey_102: init at 102.1.0Kirill A. Korinsky2-1/+18
2022-08-10spidermonkey_*: add testsKirill A. Korinsky2-3/+18
2022-08-10spidermonkey_78: factor out into a common expressionKirill A. Korinsky2-142/+47
2022-08-10spidermonkey_91: factor out into a common expressionKirill A. Korinsky2-123/+132
2022-07-26spidermonkey_91: 91.11.0 -> 91.12.0Martin Weinelt1-2/+2
2022-06-27spidermonkey_91: 91.10.0 -> 91.11.0Martin Weinelt1-2/+2
2022-06-06spidermonkey_78: pin python39Martin Weinelt1-2/+2
Because the configure script hasn't been update to work with Python 3.10 and never will. Spidermonkey 78 is EOL. Traceback (most recent call last): File "/build/firefox-78.15.0/obj/../js/src/../../configure.py", line 25, in <module> from mozbuild.configure import ( File "/build/firefox-78.15.0/python/mozbuild/mozbuild/configure/__init__.py", line 33, in <module> from mozbuild.util import ( File "/build/firefox-78.15.0/python/mozbuild/mozbuild/util.py", line 760, in <module> class HierarchicalStringList(object): File "/build/firefox-78.15.0/python/mozbuild/mozbuild/util.py", line 785, in HierarchicalStringList class StringListAdaptor(collections.Sequence): AttributeError: module 'collections' has no attribute 'Sequence'
2022-05-31spidermonkey_91: 91.9.1 -> 91.10.0Martin Weinelt1-2/+2
2022-05-22Merge pull request #173810 from mweinelt/spidermonkeyMartin Weinelt1-15/+18
spidermonkey_91: unpin icu, drop yasm, refactor
2022-05-21spidermonkey_91: unpin icu, drop yasm, refactorMartin Weinelt1-15/+18
Split the argument list into build and runtime dependencies and sort everything alphabetically. Unpin icu, it works with icu70, which is the latest version at this time. Remove yasm, it's not needed in firefox either.
2022-05-20spidermonkey_91: 91.9.0 -> 91.9.1Martin Weinelt1-2/+2
https://www.mozilla.org/en-US/security/advisories/mfsa2022-19/ Fixes: CVE-2022-1802, CVE-2022-1529
2022-05-10spidermonkey_91: 91.8.0 -> 91.9.0Will1-2/+2
2022-04-07spidermonkey_91: 91.7.0 -> 91.8.0Will1-2/+2
2022-03-22spidermonkey: use the same LLVM as rustcAlyssa Ross2-4/+2
Spidermonkey depends on rustc, so we have the best chance at only having a single LLVM in the build closure if we use the same LLVM that rustc depends on.
2022-03-09spidermonkey_91: 91.6.0 -> 91.7.0Will Young1-2/+2
2022-02-09spidermonkey_91: 91.5.0 -> 91.6.0Will1-2/+2
2022-02-04spidermonkey_91: 91.5.0 -> 91.5.1R. Ryantm1-2/+2
2022-02-02spidermonkey_68: dropJörg Thalheim1-104/+0
2022-01-13Merge branch 'master' into staging-nextDmitry Kalinkin1-2/+2
Conflicts: pkgs/development/python-modules/restfly/default.nix
2022-01-13spidermonkey_91: 91.4.0 -> 91.5.0Will1-2/+2
2022-01-10spidermonkey: Force lp64d ABI for riscv64Zhaofeng Li1-0/+4
cc-rs is hardcoded to use the soft-float ABI for riscv64, while the rest of the system is double-float. This is not just a missing stub header file - You can't link object files using different ABIs.
2022-01-10spidermonkey: Add patch to support riscv64Zhaofeng Li2-0/+132
2021-12-30spidermonkey_91: fix cross compilationJoerie de Gram3-0/+8
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.
2021-12-08spidermonkey_91: 91.3.0 -> 91.4.0Will1-2/+2
2021-11-07Merge pull request #144953 from helsinki-systems/upd/spidermonkey-78Janne Heß1-2/+2
spidermonkey_78: 78.11.0 -> 78.15.0
2021-11-07spidermonkey_91: init at 91.3.0ajs1241-0/+119
2021-11-07spidermonkey_68: 68.10.0 -> 68.12.0ajs1241-2/+2
2021-11-07spidermonkey: drop unused patchesajs1242-361/+0
2021-11-07spidermonkey_78: 78.11.0 -> 78.15.0ajs1241-2/+2
2021-10-08spidermonkey_78: use LLVM 12Ben Wolsieffer1-2/+2
This avoids having to build multiple LLVM versions for my systems, which is very helpful for platforms without a binary cache (e.g. 32-bit ARM).
2021-07-14Merge pull request #126558 from zhaofengli/libproxy-optional-jsJan Tojnar1-0/+1
libproxy: Make JavaScript optional
2021-07-11spidermonkey_68: fix crossAlyssa Ross1-3/+9
The use of unspliced llvmPackages in configureFlags was causing an eval failure when cross-compiling, but since later versions of Firefox/Spidermonkey can correctly detect clang and libclang without those arguments being specified, we can just backport that patch (which applies cleanly), and not have to worry about it any more.
2021-06-16Merge pull request #114942 from lopsided98/spidermonkey-armSandro1-0/+10
spidermonkey_78: fix build on armv7l
2021-06-10spidermonkey68: Disable on RISC-VZhaofeng Li1-0/+1