mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tools: bump nixpkgs pins
- unstable to f4b794aaffc0e3d45da81088d492b118224bb476 - 26.05 to c0ae35c6460f00dcac6a59063e080f826e620b28 PR-URL: https://github.com/nodejs/node/pull/67173 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
730e55a0f7
commit
ffac5539af
7 files changed
+24
-26
No files matched your search
@@ -255,7 +255,7 @@ jobs:
|
||||
with:
|
||||
runner: ubuntu-24.04-arm
|
||||
v8-nar: ${{ needs.build-aarch64-linux-v8.outputs.local-cache && 'libv8-aarch64-linux.nar' }}
|
||||
pkcs11-store-test: ${{ matrix.openssl.attr == 'openssl' }}
|
||||
pkcs11-store-test: ${{ matrix.openssl.attr == 'openssl_3_5' }}
|
||||
# Override just the `openssl` attr of the default shared-lib set with
|
||||
# the matrix-selected nixpkgs attribute (e.g. `openssl_3_6`). All
|
||||
# other shared libs (brotli, cares, libuv, …) keep their defaults.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
openssl ? (import ./openssl-matrix.nix { }).openssl,
|
||||
openssl ? (import ./openssl-matrix.nix { }).openssl_3_5,
|
||||
}:
|
||||
|
||||
openssl.overrideAttrs (oldAttrs: {
|
||||
|
||||
@@ -1,21 +1,18 @@
|
||||
{
|
||||
pkgs ? import ./pkgs.nix {
|
||||
config.permittedInsecurePackages = [
|
||||
"openssl-3.0.22"
|
||||
];
|
||||
config.permittedInsecurePackages = [ "openssl-3.0.22" ];
|
||||
},
|
||||
}:
|
||||
|
||||
{
|
||||
# "default" OpenSSL release line, should be kept in sync with the bundled version:
|
||||
openssl = pkgs.openssl_3_5;
|
||||
openssl = pkgs.openssl_4_1;
|
||||
|
||||
# Other OpenSSL variants we want to test for:
|
||||
inherit (pkgs)
|
||||
boringssl
|
||||
openssl_3
|
||||
openssl_3_6
|
||||
openssl_4_0
|
||||
openssl_3_5
|
||||
;
|
||||
|
||||
openssl_fips = import ./openssl-fips.nix { };
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# pkcs11-provider is dlopen'd into the libcrypto Node.js itself links, so it
|
||||
# has to be built against that very OpenSSL. SoftHSM links OpenSSL too;
|
||||
# building it against the same one keeps a single libcrypto in the process.
|
||||
openssl ? (import ./openssl-matrix.nix { inherit pkgs; }).openssl,
|
||||
openssl ? (import ./openssl-matrix.nix { inherit pkgs; }).openssl_3_5,
|
||||
|
||||
pin ? "1234",
|
||||
}:
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
arg:
|
||||
let
|
||||
repo = "https://github.com/NixOS/nixpkgs";
|
||||
rev = "752cbac9446602fbb78bdd1c3597455a3dd38432";
|
||||
rev = "c0ae35c6460f00dcac6a59063e080f826e620b28";
|
||||
nixpkgs = import (builtins.fetchTarball {
|
||||
url = "${repo}/archive/${rev}.tar.gz";
|
||||
sha256 = "0h4w0f8nkmpmmpjky3blvc2r147s515pc0z4hisywln4ryryr29z";
|
||||
sha256 = "0hbdqzpiv8p44li7jng01mlg2zbb1ff18z3r250f4rjbqflbiwxs";
|
||||
}) arg;
|
||||
in
|
||||
# Unstable channel no longer supports Intel architecture for macOS. We can use the 26.05 channel
|
||||
|
||||
+15
-2
@@ -1,10 +1,10 @@
|
||||
arg:
|
||||
let
|
||||
repo = "https://github.com/NixOS/nixpkgs";
|
||||
rev = "901c54c08bdc20e00c2b3c73716b97497b1b3c74";
|
||||
rev = "0bb2eedc20e4739f29e8045034f2828ad7054f8f";
|
||||
nixpkgs = import (builtins.fetchTarball {
|
||||
url = "${repo}/archive/${rev}.tar.gz";
|
||||
sha256 = "0bicjz6w8n0ahwxxj837rbg494siw57vfk7ff3w8v3gvnykzxlia";
|
||||
sha256 = "008j4dj5yrzww91qvp1lp2c9d1lkwc6i2dpainf5nkdkr3rwj8vy";
|
||||
}) arg;
|
||||
in
|
||||
# Unstable channel no longer supports Intel architecture for macOS. We can use the 26.05 channel
|
||||
@@ -44,4 +44,17 @@ else
|
||||
url = "${repo}/raw/aff8a0b28396750446e5537a96461bc4facdb287/pkgs/by-name/sc/sccache/package.nix";
|
||||
sha256 = "09dlc99sam9ld9jvzgcc00r4v4ls1cmbb0yim3mr895fpbs8b3qa";
|
||||
}) { };
|
||||
|
||||
# TODO: remove this override once the pin we use has picked up https://github.com/NixOS/nixpkgs/pull/575002
|
||||
uvwasi = nixpkgs.uvwasi.overrideAttrs (old: {
|
||||
patches = old.patches ++ [
|
||||
(nixpkgs.fetchpatch2 {
|
||||
url = "https://github.com/nodejs/uvwasi/commit/fe602a6911207efd8dcfc070a752bcf76813c978.patch?full_index=1";
|
||||
hash = "sha256-MyFvRuEhcqZR+Bz2pY9vani8U1iyQrDeni2kKKnJGEI=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ ];
|
||||
propagatedBuildInputs = old.buildInputs;
|
||||
});
|
||||
}
|
||||
@@ -19,6 +19,7 @@
|
||||
nghttp2
|
||||
simdjson
|
||||
simdutf
|
||||
uvwasi
|
||||
zlib
|
||||
zstd
|
||||
;
|
||||
@@ -27,19 +28,6 @@
|
||||
hdr-histogram = pkgs.hdrhistogram_c;
|
||||
highway = pkgs.libhwy;
|
||||
http-parser = pkgs.llhttp;
|
||||
|
||||
# TODO: remove this override once the pin we use has picked up https://github.com/NixOS/nixpkgs/pull/575002
|
||||
uvwasi = pkgs.uvwasi.overrideAttrs (old: {
|
||||
patches = old.patches ++ [
|
||||
(pkgs.fetchpatch2 {
|
||||
url = "https://github.com/nodejs/uvwasi/commit/fe602a6911207efd8dcfc070a752bcf76813c978.patch?full_index=1";
|
||||
hash = "sha256-MyFvRuEhcqZR+Bz2pY9vani8U1iyQrDeni2kKKnJGEI=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ ];
|
||||
propagatedBuildInputs = old.buildInputs;
|
||||
});
|
||||
}
|
||||
// (pkgs.lib.optionalAttrs withLief {
|
||||
# TODO: remove this override once the pin we use has picked up a new LIEF version that includes that patch.
|
||||
|
||||
Reference in new issue
Block a user