Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/nix-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ on:
- v[0-9]+.x
paths:
- '**.nix'
- tools/certdata.txt
- tools/nix/**
- .github/workflows/nix-changes.yml
pull_request:
paths:
- '**.nix'
- tools/certdata.txt
- tools/nix/**
- .github/workflows/nix-changes.yml
types: [opened, synchronize, reopened, ready_for_review]
Expand Down Expand Up @@ -52,6 +54,7 @@ jobs:
sparse-checkout: |
shell.nix
tools/nix/
tools/certdata.txt
sparse-checkout-cone-mode: false

- uses: cachix/install-nix-action@75c75c31ebece974e48ebc36b4ad125bd97bd97b # v31.11.3
Expand Down
8 changes: 8 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ pkgs.mkShell {
)
)
);

# CA bundle built from the vendored Mozilla trust store, so Nix-built tools
# (curl, git, shared OpenSSL) don't fall back to the user's possibly stale one.
NIX_SSL_CERT_FILE = "${
pkgs.cacert.overrideAttrs {
src = ./tools/certdata.txt;
}
}/etc/ssl/certs/ca-bundle.crt";
}
// (
let
Expand Down
Loading