mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
niv: add nixpkgs unstable
This commit is contained in:
parent
4b212f63a5
commit
c212b7f7dc
@ -121,6 +121,12 @@ Change the tracking branch of nixpkgs from unstable to 23.05:
|
|||||||
niv modify nixpkgs --branch nixos-23.05
|
niv modify nixpkgs --branch nixos-23.05
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Add nixpkgs unstable:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
niv add NixOS/nixpkgs -n unstable -b nixpkgs-unstable
|
||||||
|
```
|
||||||
|
|
||||||
## Add Home Manager with niv
|
## Add Home Manager with niv
|
||||||
|
|
||||||
Home Manager:
|
Home Manager:
|
||||||
|
@ -34,5 +34,17 @@
|
|||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/898cb2064b6e98b8c5499f37e81adbdf2925f7c5.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/898cb2064b6e98b8c5499f37e81adbdf2925f7c5.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
|
},
|
||||||
|
"unstable": {
|
||||||
|
"branch": "nixpkgs-unstable",
|
||||||
|
"description": "Nix Packages collection & NixOS",
|
||||||
|
"homepage": "",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "12bdeb01ff9e2d3917e6a44037ed7df6e6c3df9d",
|
||||||
|
"sha256": "0f17bpv8gnndri2pbylcmmg02jl8m5ypggiwlpaazn02k2wcdja5",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://github.com/NixOS/nixpkgs/archive/12bdeb01ff9e2d3917e6a44037ed7df6e6c3df9d.tar.gz",
|
||||||
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user