Commit Graph

3 Commits

Author SHA1 Message Date
Matt Sturgeon
37aac0fb06 ci/update-pinned.sh: import Nixpkgs relative to script
Paths within a --expr expression are relative to the script file,
while relative paths in NIX_PATH are relative to the caller's CWD.

We want the Nixpkgs import to be relative to update-pinned.sh itself,
so that it does not matter where it's executed from.

See https://github.com/NixOS/nixpkgs/issues/425551
2026-07-05 14:25:34 +01:00
Michael Daniels
089cd8fbac ci/update-pinned.sh: use nixpkgs from current dir, run npins upgrade too
Use nixpkgs from the current directory because otherwise the npins used
could be outdated.

Also run npins upgrade as part of the script.
2026-06-08 18:16:27 -04:00
Wolfgang Walther
f7c25f0bf9 ci/pinned: manage nixpkgs and treefmt-nix with npins
Instead of rolling our own update script which only works for a single
pin, let's use npins. We can then use it for the treefmtNix pin as well,
which was mostly unmaintained, so far.
2025-06-02 09:13:11 +02:00