Skip to content

Commit 46cb55f

Browse files
committed
add script for updating the nixpkgs lock files manually
PL-133100
1 parent ac7fc27 commit 46cb55f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,15 @@ The nixpkgs and nixos-mailserver versions used by the platform are pinned in `fl
152152

153153
We use our [nixpkgs fork](https://github.com/flyingcircusio/nixpkgs) and the nixos-mailserver fork from our Gitlab.
154154

155+
Our nixpkgs fork is automatically updated by the update-nixpkgs GitHub action in fc-nixos-release-tools.
156+
157+
If you need to manually cherry-pick a commit from nixpkgs or add another commit on top of our nixpkgs fork, please add
158+
the commit to the nixos-xx.xx (replace with the current version) and run
159+
160+
./update-nixpkgs-lock.sh
161+
162+
on an x86_64-linux machine and commit the changed files to this repository.
163+
155164
To learn more about our release tooling, look at the fc-nixos-release-tooling repo.
156165

157166
License

update-nixpkgs-lock.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
nix flake update nixpkgs
4+
nix run .#buildVersionsJson
5+
nix run .#buildPackageVersionsJson

0 commit comments

Comments
 (0)