Commit Graph

99 Commits

Author SHA1 Message Date
R. Ryantm
0331aff427 emscripten: 6.0.6 -> 6.0.8 2026-08-24 14:03:14 +00:00
R. Ryantm
5bf2285dd8 emscripten: 6.0.5 -> 6.0.6 2026-08-15 09:15:10 +00:00
Will Cohen
0599776be2 emscripten: 6.0.2 -> 6.0.5
https://github.com/emscripten-core/emscripten/blob/6.0.5/ChangeLog.md

Upstream moved EXPECTED_LLVM_VERSION from 23 to 24 in this range, so the
hardcoded sed matched nothing and left the check set to 24 while this
package supplies LLVM 22. Replace the sed with substituteInPlace
--replace-fail and take the value from llvmPackages, so a future upstream
change to this constant stops the build instead of passing silently.
2026-07-29 20:13:44 -04:00
R. Ryantm
f289bbc036 emscripten: 5.0.7 -> 6.0.2 2026-07-10 10:28:49 +00:00
Raito Bezarius
6a63a4ad8b pkgs/*: drop maintenanceship of various packages
I have effectively renounced on maintaining all these packages and I do
not plan to return them except if I'm forced to.

I am also fine with most of these packages being dropped for next
releases if no maintainer shows up.

Change-Id: I8d167c8029b6991181bd7a094af21c3313af2b51
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2026-06-24 20:34:45 +02:00
R. Ryantm
8cc3f0cecc emscripten: 5.0.6 -> 5.0.7 2026-05-01 18:04:00 +00:00
Will Cohen
baea8fde7d emscripten: 5.0.0 -> 5.0.6 2026-04-17 19:19:14 -04:00
Troels Henriksen
b80d341522 emscripten: 4.0.23 -> 5.0.0 2026-02-11 09:51:22 +01:00
R. Ryantm
42f2e0330f emscripten: 4.0.22 -> 4.0.23 2026-01-12 23:11:50 +00:00
Will Cohen
31e1f1b0f5 emscripten: add updateScript and patch verification 2025-12-27 09:24:16 -05:00
Will Cohen
9255e34983 emscripten: fix patchShebangs and add regression test 2025-12-27 08:16:53 -05:00
Will Cohen
3e1614f485 emscripten: fix cache 2025-12-27 08:10:04 -05:00
Will Cohen
f878d2bb79 emscripten: 4.0.21 -> 4.0.22 2025-12-26 12:11:51 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Will Cohen
5f9599e05c emscripten: 4.0.12 -> 4.0.21 2025-12-04 11:01:23 -05:00
Marcin Serwin
42c6232eec maintainers: drop matthewbauer
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-16 13:42:02 +01:00
Aleksey Sidorov
4ccc7c3197 emscripten: fix cross-compilation by using host python 2025-09-03 14:52:20 +03:00
Will Cohen
6d662c52e5 emscripten: 4.0.11 -> 4.0.12 2025-08-04 11:49:35 -04:00
Will Cohen
ecd58b7965 emscripten: 4.0.10 -> 4.0.11 2025-07-18 13:24:45 -04:00
Will Cohen
ca3a2f060a emscripten: 4.0.8 -> 4.0.10 (#419969) 2025-06-30 08:47:50 -04:00
Will Cohen
ded344bf5b emscripten: 4.0.8 -> 4.0.10 2025-06-25 12:47:27 -04:00
Gleb Dovzhenko
c2618fc5e3 emscripten: node_modules fix, cache location fix 2025-06-25 10:17:43 -04:00
Bryan Tan
7101805a34 emscripten: patch bugs involving EM_CACHE permissions
As a workaround for https://github.com/NixOS/nixpkgs/issues/282509,
packages built with `emscriptenStdenv` need to set the `EM_CACHE`
environment variable to a folder in the build directory, so that
emscripten uses a copy of the sysroot cache instead of attempting to
write to the sysroot in the Nix store. However, due to the bug
https://github.com/emscripten-core/emscripten/issues/24404, the copied
cache has the same permission bits as the (readonly) one in the Nix
store, resulting in "Permission Denied" errors.

This bug has since been fixed in upstream emscripten, so we can backport
the relevant patches.
2025-05-26 15:19:38 -07:00
Will Cohen
578f23a3b0 emscripten: 3.1.73 -> 4.0.8 2025-05-07 10:19:27 -04:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Wolfgang Walther
b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Will Cohen
e255a9090e emscripten: 3.1.64 -> 3.1.73 2024-11-29 11:00:23 -05:00
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Will Cohen
b8968a150d emscripten: 3.1.55 -> 3.1.64 2024-07-24 11:54:01 -04:00
Sandro
03826a4caa Merge pull request #315402 from gracicot/gracicot/update-emscripten 2024-07-04 13:31:06 +02:00
Guillaume Racicot
ab60d63bf4 emscripten: 3.1.51 -> 3.1.55 2024-07-04 11:49:17 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Will Cohen
2e1b1d11d9 emscripten: 3.1.50 -> 3.1.51 2023-12-19 15:29:48 -05:00
Will Cohen
c4a686bcb7 emscripten: 3.1.47 -> 3.1.50 2023-12-11 11:48:50 -05:00
Will Cohen
6a3c46ee38 emscripten: add willcohen to maintainers 2023-12-11 10:54:31 -05:00
Ryan Lahfa
610a958b03 Merge pull request #263625 from sgrb/emscripten-fix 2023-12-10 19:53:32 +01:00
Slava Gorbunov
bad03d8cb8 Disable global cache for emscripten 2023-10-26 16:10:52 +03:00
Will Cohen
7f262b6859 emscripten: ensure node_modules are available
If not set, attempts to use emscripten fails when acorn is missing as a
dependency. These, from emscripten-node-modules, need to be available at
runtime.
2023-10-10 16:49:50 -04:00
Will Cohen
9d12e6771c emscripten: 3.1.45 -> 3.1.47 2023-10-10 13:16:50 -04:00
Raito Bezarius
d9e42ac41b emscripten: 3.1.42 -> 3.1.45
https://github.com/emscripten-core/emscripten/releases/tag/3.1.43
https://github.com/emscripten-core/emscripten/releases/tag/3.1.44
https://github.com/emscripten-core/emscripten/releases/tag/3.1.45
2023-08-26 12:47:33 +02:00
Will Cohen
d38e097449 emscripten: 3.1.41 -> 3.1.42 (#240227) 2023-06-28 21:40:17 +02:00
Will Cohen
0761348e91 emscripten: 3.1.24 -> 3.1.41 2023-06-18 19:35:46 -04:00
Will Cohen
275bb9b544 emscripten: backport support for binaryen 111 2023-01-17 13:43:46 -05:00
Raito Bezarius
6eaebaf95a emscripten: add raitobezarius as maintainer 2023-01-12 12:32:58 -05:00
Raito Bezarius
ecac00124e emscripten: 3.1.17 -> 3.1.24 2023-01-12 12:32:50 -05:00
sternenseemann
12af3ee5c5 emscripten: fake cc-wrapper-esque passthru attrs for GHC
For the GHC JavaScript backend, we'll use emscripten in place of
targetCC. To avoid having too much special logic for this, we'll make
the emscripten derivation look like the result of wrapCC as far as GHC
is concerned, i.e. we need targetPrefix and bintools.

For bintools, we'll just reexpose emscripten, as it has emar, the only
relevant bintools. That the other ones are missing doesn't matter in
practice, as the GHC build system won't attempt to use them.

targetPrefix can immediately be (ab)used to make sure GHC will correctly
call emcc etc. instead of plain cc.
2023-01-03 22:45:05 +01:00
Will Cohen
3a46b467ac emscripten: 3.1.15 -> 3.1.17 2022-07-26 09:30:36 -04:00
Will Cohen
c877fee9ae emscripten: 3.1.14 -> 3.1.15 2022-07-13 09:09:26 -04:00