4 ms·
Nix does a pretty poor job of being able to specify the exact version that you need of something.
by X6S1x6Okd1st 7y ago
Nix does a pretty poor job of being able to specify the exact version that you need of something.
- Nullabillity 7y agoIt's not great at mix-and-match pinning, but if you pin a version of Nixpkgs then you will always build from the same environment (down to the libc). There's some boilerplate, sadly, but it's still fairly simple to understand.[0] [0]: https://github.com/Etimo/photo-garden/blob/f597b95c0c488abad77fc6cb72e4b3c34a8e50b2/default.nix#L7-L19 https://github.com/Etimo/photo-garden/blob/f597b95c0c488abad...
- asymmetric 7y agoYou don’t need pkgsBootstrap - you can use builtins.fetchGit instead of fetchFromGitHun
- Nullabillity 7y agoTrue, but that will do a real git clone (which is generally much slower than just downloading a static zip).