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 = "f94d02af657f4714e228f5071c7ac19802841d63";
|
|
sha256 = "sha256-SAbQXwRvIuk81XNTpQwwannWRaGZfKZvBgKYGYh4C60=";
|
|
version = "unstable-2025-07-27";
|
|
branch = "master";
|
|
}
|