GeezerVison is showing github.com — tools: pin OpenSSL to 3.5.4 on test-shared workflow · nodejs/node@3ec9764
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-shared.yml +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# This action uses the following secrets: |
| 2 | +# CACHIX_AUTH_TOKEN: Write access to nodejs.cachix.org – without it, the cache is read-only. |
1 | 3 | name: Test Shared libraries |
2 | 4 |
|
3 | 5 | on: |
|
95 | 97 | with: |
96 | 98 | extra_nix_config: sandbox = true |
97 | 99 |
|
| 100 | + - uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16 |
| 101 | + with: |
| 102 | + name: nodejs |
| 103 | + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} |
| 104 | + |
98 | 105 | - name: Configure sccache |
99 | 106 | uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 |
100 | 107 | with: |
|
Collapse file
Copy file name to clipboardExpand all lines: BUILDING.md +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -270,6 +270,12 @@ direnv allow . |
270 | 270 | make build-ci -j12 |
271 | 271 | ``` |
272 | 272 |
|
| 273 | +Most dependencies will likely be available in the official nixpkgs cache, |
| 274 | +although for some dependencies we have to deviate for the upstream repository, |
| 275 | +in which case those will be built locally, or you can use the Cachix repository |
| 276 | +for the project: `cachix use nodejs`. See <https://docs.cachix.org/> for more |
| 277 | +information. |
| 278 | + |
273 | 279 | The use of `make build-ci` is to ensure you are using the `CONFIG_FLAGS` |
274 | 280 | environment variable. You can also specify it manually: |
275 | 281 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: shell.nix +17-1Lines changed: 17 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
12 | 12 | nghttp2 |
13 | 13 | nghttp3 |
14 | 14 | ngtcp2 |
15 | | - openssl |
16 | 15 | simdjson |
17 | 16 | simdutf |
18 | 17 | sqlite |
|
21 | 20 | zstd |
22 | 21 | ; |
23 | 22 | 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 = (old.configureFlags or [ ]) ++ [ |
| 31 | + "no-docs" |
| 32 | + "no-tests" |
| 33 | + ]; |
| 34 | + outputs = [ |
| 35 | + "bin" |
| 36 | + "out" |
| 37 | + "dev" |
| 38 | + ]; |
| 39 | + }); |
24 | 40 | }, |
25 | 41 | ccache ? pkgs.ccache, |
26 | 42 | ninja ? pkgs.ninja, |
|