GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: use vendored trust store in `shell.nix` · nodejs/node@8232390

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • nix-changes.yml
  • shell.nix
  • tools/nix
    • sharedLibDeps.nix
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/nix-changes.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/nix-changes.yml
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ on:
1111
- v[0-9]+.x
1212
paths:
1313
- '**.nix'
14+
- tools/certdata.txt
1415
- tools/nix/**
1516
- .github/workflows/nix-changes.yml
1617
pull_request:
1718
paths:
1819
- '**.nix'
20+
- tools/certdata.txt
1921
- tools/nix/**
2022
- .github/workflows/nix-changes.yml
2123
types: [opened, synchronize, reopened, ready_for_review]
@@ -52,6 +54,7 @@ jobs:
5254
sparse-checkout: |
5355
shell.nix
5456
tools/nix/
57+
tools/certdata.txt
5558
sparse-checkout-cone-mode: false
5659

5760
- uses: cachix/install-nix-action@13d8dd58da0234aa297dedd986986ccb8e7f3e24 # v31.11.1
Collapse file

‎shell.nix‎

Copy file name to clipboardExpand all lines: shell.nix
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@ pkgs.mkShell {
144144
)
145145
)
146146
);
147+
148+
# CA bundle built from the vendored Mozilla trust store, so Nix-built tools
149+
# (curl, git, shared OpenSSL) don't fall back to the user's possibly stale one.
150+
NIX_SSL_CERT_FILE = "${
151+
pkgs.cacert.overrideAttrs {
152+
src = ./tools/certdata.txt;
153+
}
154+
}/etc/ssl/certs/ca-bundle.crt";
147155
}
148156
// (
149157
let
Collapse file

‎tools/nix/sharedLibDeps.nix‎

Copy file name to clipboardExpand all lines: tools/nix/sharedLibDeps.nix
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
;
2323
abseil = pkgs.abseil-cpp;
2424
brotli = pkgs.brotli.overrideAttrs (old: {
25-
patches = (old.patches or []) ++ [
25+
patches = (old.patches or [ ]) ++ [
2626
(pkgs.fetchpatch2 {
2727
url = "https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b.patch?full_index=1";
2828
hash = "sha256-dVpnYI2JLDEt2VQkbI6RnbpdcQSMB5bTQ6TJp5CLnyw=";

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.