tools: pin OpenSSL to 3.5.4 on test-shared workflow

PR-URL: https://github.com/nodejs/node/pull/60428
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Antoine du Hamel 2025-10-30 13:06:55 +01:00 committed by GitHub
parent 8ea8d4ce83
commit 7d52d9c5cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# This action uses the following secrets:
# CACHIX_AUTH_TOKEN: Write access to nodejs.cachix.org  without it, the cache is read-only.
name: Test Shared libraries
on:
@ -95,6 +97,11 @@ jobs:
with:
extra_nix_config: sandbox = true
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with:
name: nodejs
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Configure sccache
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:

View File

@ -270,6 +270,12 @@ direnv allow .
make build-ci -j12
```
Most dependencies will likely be available in the official nixpkgs cache,
although for some dependencies we have to deviate for the upstream repository,
in which case those will be built locally, or you can use the Cachix repository
for the project: `cachix use nodejs`. See <https://docs.cachix.org/> for more
information.
The use of `make build-ci` is to ensure you are using the `CONFIG_FLAGS`
environment variable. You can also specify it manually:

View File

@ -12,7 +12,6 @@
nghttp2
nghttp3
ngtcp2
openssl
simdjson
simdutf
sqlite
@ -21,6 +20,23 @@
zstd
;
http-parser = pkgs.llhttp;
openssl = pkgs.openssl.overrideAttrs (old: {
version = "3.5.4";
src = pkgs.fetchurl {
url = builtins.replaceStrings [ old.version ] [ "3.5.4" ] old.src.url;
hash = "sha256-lnMR+ElVMWlpvbHY1LmDcY70IzhjnGIexMNP3e81Xpk=";
};
doCheck = false;
configureFlags = (old.configureFlags or [ ]) ++ [
"no-docs"
"no-tests"
];
outputs = [
"bin"
"out"
"dev"
];
});
},
ccache ? pkgs.ccache,
ninja ? pkgs.ninja,