legacy-old-hercules
legacy-old-hercules copied to clipboard
Deterministic bootstrapping
In pkgs.nix you can use the deterministic bootstrapping style described in https://github.com/NixOS/nix/issues/1299#issuecomment-316842769 to prevent the user from having to redownload the tarball hourly.
I also like the trick from https://github.com/NixOS/nix/issues/1528, which seems a little nicer to me.
sure, though that requires a git submodule containing the relevant nixpkgs revision
Until Nix 1.12 is released I guess it's best to use https://github.com/input-output-hk/iohk-ops/blob/staging/fetch-nixpkgs.nix
@domenkozar I find it likely that that file was written after I conversation I had with @cleverca22 this summer (i.e.: it's probably equivalent to the gist in that comment)
Yeah, it goes around also by @zimbatm at https://github.com/numtide/todomvc-nix/commit/f3c7c35b00dc0c5897a08531e5902e09110aeb1a