Skip to content

Commit b6fe865

Browse files
committed
tools: pin OpenSSL to 3.5.4 on test-shared workflow
1 parent 3c8c1ef commit b6fe865

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/test-shared.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This action uses the following secrets:
2+
# CACHIX_AUTH_TOKEN: Write access to nodejs.cachix.org – without it, the cache is read-only.
13
name: Test Shared libraries
24

35
on:
@@ -95,6 +97,11 @@ jobs:
9597
with:
9698
extra_nix_config: sandbox = true
9799

100+
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
101+
with:
102+
name: nodejs
103+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
104+
98105
- name: Configure sccache
99106
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
100107
with:

shell.nix

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
nghttp2
1313
nghttp3
1414
ngtcp2
15-
openssl
1615
simdjson
1716
simdutf
1817
sqlite
@@ -21,6 +20,25 @@
2120
zstd
2221
;
2322
http-parser = pkgs.llhttp;
23+
openssl = pkgs.openssl.overrideAttrs (old: {
24+
version = "3.5.4";
25+
src = pkgs.fetchurl {
26+
url = builtins.replaceStrings [ old.version ] [ "3.5.4" ] old.src.url;
27+
hash = "sha256-lnMR+ElVMWlpvbHY1LmDcY70IzhjnGIexMNP3e81Xpk=";
28+
};
29+
doCheck = false;
30+
configureFlags =
31+
(old.configureFlags or [ ])
32+
++ [
33+
"no-docs"
34+
"no-tests"
35+
];
36+
outputs = [
37+
"bin"
38+
"out"
39+
"dev"
40+
];
41+
});
2442
},
2543
ccache ? pkgs.ccache,
2644
ninja ? pkgs.ninja,

0 commit comments

Comments
 (0)