niv: pin nil to repo unstable version

This commit is contained in:
Primrose 2025-06-16 08:12:09 +02:00
parent d91d1b2f6a
commit 409b58ccd7
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 21 additions and 0 deletions

View file

@ -42,6 +42,7 @@ in
../overlays/wired-notify.nix ../overlays/wired-notify.nix
../overlays/nix-tree.nix ../overlays/nix-tree.nix
../overlays/wallpapers.nix ../overlays/wallpapers.nix
../overlays/nil.nix
../overlays/iosevka.nix ../overlays/iosevka.nix
../packages/overlay.nix ../packages/overlay.nix

8
nix/overlays/nil.nix Normal file
View file

@ -0,0 +1,8 @@
# Run the one with my cool feature here for now
let
sources = import ../sources.nix;
inherit (sources) nil;
in
final: _: {
nil = (builtins.getFlake "github:${nil.owner}/${nil.repo}/${nil.rev}").packages.${final.system}.default;
}

View file

@ -67,6 +67,18 @@
"rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc", "rev": "cd2a9c028df820a83ca2807dc6c6e7abc3dfa7fc",
"type": "git" "type": "git"
}, },
"nil": {
"branch": "main",
"description": "NIx Language server, an incremental analysis assistant for writing in Nix.",
"homepage": "",
"owner": "oxalica",
"repo": "nil",
"rev": "870a4b1b5f12004832206703ac15aa85c42c247b",
"sha256": "1xlbzv9495g2gx6nmnw79v5g9ajwzkl1qwlpkqwqzqz4380qnnxy",
"type": "tarball",
"url": "https://github.com/oxalica/nil/archive/870a4b1b5f12004832206703ac15aa85c42c247b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nix-tree": { "nix-tree": {
"branch": "main", "branch": "main",
"description": "Interactively browse dependency graphs of Nix derivations.", "description": "Interactively browse dependency graphs of Nix derivations.",