Commit Graph
58 Commits
Author SHA1 Message Date
Moraxyc ea2aba65e8 binaryen: fix build on aarch64/riscv64 with gcc15 2026-01-02 11:00:01 +08:00
Ihar HrachyshkaandWolfgang Walther 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 f5b4ad5108 binaryen: 124 -> 125 2025-12-04 10:03:50 -05:00
Amaan Qureshi 1540aa8fc2 binaryen: 123 -> 124 2025-09-02 18:39:21 -04:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Will Cohen e2a3d8a657 binaryen: 120_b -> 123; 2025-05-07 10:19:21 -04:00
Peder Bergebakken Sundt e171199c50 treewide: replace stdenv.is with stdenv.hostPlatform.is 2025-03-26 23:14:22 +01:00
FliegendeWurst 789c30f7e2 binaryen: fix strictDeps build 2025-01-02 21:20:51 +01:00
K900 6762d4209f binaryen: 119 -> 120_b
Fixes emscripten. Not 121 because emscripten refuses to build with it.
2024-12-17 16:17:50 +03:00
Silvan Mosberger 84d4f874c2 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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Will Cohen 6a49785456 binaryen: 118 -> 119 2024-11-29 11:00:18 -05:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Will Cohen 4c0bb97b29 binaryen: 117 -> 118 2024-07-24 11:36:38 -04:00
Will Cohen 80223abbc8 binaryen: add willcohen to maintainers 2024-07-24 11:36:38 -04:00
Guillaume RacicotandSandro Jäckel 46dde756f1 binaryen: 116 -> 117 2024-07-04 11:49:17 +02:00
Sergei Trofimovich c56c679c36 binaryen: fix the build
Current `binaryen` fails to build against `gcc-12` as: https://hydra.nixos.org/build/245455591

    [100%] Linking CXX executable ../../bin/binaryen-unittests
    ld: /nix/store/...-gtest-1.12.1/lib/libgtest.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
    collect2: error: ld returned 1 exit status

It is a typical mix of libraries built with `gcc-12` and bianries linked
with `gcc-12`'s `libstdc++`.

The change switches back to a default compiler and backports an upstream
`fmin` fix to amend the test.
2024-01-02 12:00:36 +00:00
Martin Weinelt e8dd1cf066 Merge remote-tracking branch 'origin/staging-next' into staging 2023-12-12 14:13:07 +01:00
K900 14655c8d9a binaryen: fix build with Node 20 2023-12-11 14:08:45 +03:00
Alyssa Ross f431d7ddab binaryen: backport fix for nodejs 20
Link: https://github.com/NixOS/nixpkgs/pull/271494#issuecomment-1836920695
Fixes: c4b3cc031e ("nodejs: default to nodejs_20")
2023-12-07 10:57:10 +01:00
Will Cohen 8793a0b570 binaryen: 114 -> 116 2023-10-10 12:39:31 -04:00
R. Ryantm 432be1a032 binaryen: 113 -> 114 2023-07-05 19:17:31 +00:00
Will Cohen 1850284e03 binaryen: 112 -> 113 2023-06-18 19:35:46 -04:00
Mario Rodas f548a59a5f binaryen: 111 -> 112 2023-03-10 04:20:00 +00:00
Ryan LahfaandGitHub 319b8a2459 Merge pull request #209122 from willcohen/binaryen
binaryen: 109 -> 111
2023-01-22 23:33:33 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Will Cohen 875a3567e0 binaryen: 109 -> 111 2023-01-17 13:42:36 -05:00
Dave Syer d2ffb55511 binaryen: add patch from upstream for newer nodejs 2022-08-25 07:26:31 +00:00
Will Cohen 0956fc22d8 binaryen: backport patch for wasm2js 2022-06-24 15:02:39 -04:00
Will Cohen 995b0ffd9c binaryen: 108 -> 109 2022-06-23 11:14:54 -04:00
Yorick van PeltandWill Cohen d531cd40af binaryen: run tests 2022-06-23 11:14:21 -04:00
Yorick van PeltandWill Cohen b50add8f56 binaryen: 105 -> 108 2022-06-22 20:06:34 -04:00
7b1e56acf0 binaryen: 102 -> 105; emscripten: 3.0.0 -> 3.1.10 (#172741)
* binaryen: 102 -> 105

* emscripten: 3.0.0 -> 3.1.10

* Backport emscripten-core/emscripten#16986 to fix emscriptenPackages.libxml2 build

* Fix patch url/hash

Co-authored-by: Will Cohen <willcohen@users.noreply.github.com>

Co-authored-by: Will Cohen <willcohen@users.noreply.github.com>
2022-06-17 13:45:29 +02:00
R. Ryantm 26cf8bddff binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
R. RyanTMandYureka d6869f3236 binaryen: 99 -> 101 2021-08-20 23:07:43 +02:00
Troels Henriksen a9d3d2f349 emscripten: 2.0.1 -> 2.0.10
binaryen: 96 -> 99

These updates must be in the same commit because emscripten depends on
a specific version of binaryen.
2021-07-20 09:59:13 +02:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Gabriel Ebner 93fda1f69d binaryen: 95 -> 96 2020-08-29 11:27:35 +02:00
Gabriel Ebner 7c6ef8b5cd binaryen: simplify build 2020-08-28 20:46:47 +02:00
R. RyanTM 25b0b0529f binaryen: 94 -> 95 2020-07-23 22:26:44 +00:00
R. RyanTM 95f56eddce binaryen: 93 -> 94 2020-06-14 09:34:50 +00:00
R. RyanTM 2869edcb51 binaryen: 91 -> 93 2020-05-02 02:50:12 +00:00
Michael ReillyandJörg Thalheim 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch 386a50f729 binaryen: 89 -> 91, emscripten: 1.38.28 -> 1.39.1 2020-03-14 02:37:37 +01:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Frederik Rietdijk f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
R. RyanTM 808d485c43 binaryen: 88 -> 89
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-08-17 12:38:38 -07:00
volthandJörg Thalheim 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM 2170380abb binaryen: 86 -> 88
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-08-03 15:48:34 -07:00
R. RyanTM 980dd75956 binaryen: 84 -> 86
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-07-15 00:32:59 -07:00
R. RyanTM 39a33d6b56 binaryen: 83 -> 84
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/binaryen/versions
2019-06-01 00:25:14 -07:00