Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Option to get ref that built caches in cache.nixos.org instead of just a head #8

Closed
kachick opened this issue Jun 19, 2023 · 3 comments 路 Fixed by #25
Closed

Option to get ref that built caches in cache.nixos.org instead of just a head #8

kachick opened this issue Jun 19, 2023 · 3 comments 路 Fixed by #25
Labels
enhancement New feature or request

Comments

@kachick
Copy link
Owner

kachick commented Jun 19, 2023

@kachick kachick added the enhancement New feature or request label Jun 19, 2023
@kachick
Copy link
Owner Author

kachick commented Aug 4, 2023

https://discourse.nixos.org/t/best-way-to-pin-a-package-to-a-certain-revision-within-nixpkgs-flakes/17928/2 馃槷

I tried it, get the github commit ref as rev 2 days before...

@kachick
Copy link
Owner Author

kachick commented Aug 4, 2023

https://nixos.wiki/wiki/Nix_channels
https://discourse.nixos.org/t/differences-between-nix-channels/13998

nixos-unstable is a bit old, but nixpkgs-unstable looks the one I actually want...

And using them with flake.nix, the revision can be locked and tracked by the flake.lock

馃槀

https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake-update.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant