mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
maintaining.md: add note about flake.nix / lock update
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
ad0b497533
commit
ee7f4646da
1 changed files with 16 additions and 0 deletions
|
|
@ -121,6 +121,22 @@ Reference commits:
|
||||||
- Change `isReleaseBranch` from `false` to `true`
|
- Change `isReleaseBranch` from `false` to `true`
|
||||||
- Do NOT change the `release` field (it's already correct from Step 1)
|
- Do NOT change the `release` field (it's already correct from Step 1)
|
||||||
|
|
||||||
|
2. **flake.nix**
|
||||||
|
- Update the nixpkgs input to track the corresponding stable branch
|
||||||
|
- Example: For `release-25.11`, change from:
|
||||||
|
```nix
|
||||||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
```
|
||||||
|
to:
|
||||||
|
```nix
|
||||||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
|
```
|
||||||
|
- Run `nix flake update` to update flake.lock to the stable branch
|
||||||
|
- Commit the flake.nix and flake.lock changes
|
||||||
|
|
||||||
|
**Note**: The release branch should track the stable NixOS release channel
|
||||||
|
(e.g., `nixos-25.11`), while master continues to track `nixos-unstable`.
|
||||||
|
|
||||||
#### Step 3.5: On master - Update CI for the New Release Branch
|
#### Step 3.5: On master - Update CI for the New Release Branch
|
||||||
|
|
||||||
**When**: After marking the release branch as a release branch (Step 3)
|
**When**: After marking the release branch as a release branch (Step 3)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue