22 lines
655 B
Nix
22 lines
655 B
Nix
# to fix sha256 (in case the updater glitches):
|
|
# - delete `sha256` or set `sha256 = "";`
|
|
# - nix-build -A hello
|
|
# => it will fail, `hash mismatch ... got: sha256-xyz`
|
|
# - past that hash back into the `sha256` field
|
|
#
|
|
# if that fails, then:
|
|
# - set `sha256 = "";`
|
|
# - nix-build -A hello
|
|
# => it will fail, `hash mismatch ... got: sha256:xyz`
|
|
# - nix hash to-sri sha256:xyz
|
|
# - paste the output as the new `sha256`
|
|
{
|
|
mkNixpkgs ? import ./mkNixpkgs.nix {},
|
|
}:
|
|
mkNixpkgs {
|
|
rev = "2882c071a83fa909c4c3d171f65c71000e90f9fb";
|
|
sha256 = "sha256-q5G/GIlkYheWnM667b/mm1sVWK9FpncwQU8vdMIcJE0=";
|
|
version = "unstable-2025-08-27";
|
|
branch = "master";
|
|
}
|