diff --git a/pkgs/by-name/ha/harmonist/package.nix b/pkgs/by-name/ha/harmonist/package.nix index 4a79cb375c34..006f2ca9ded1 100644 --- a/pkgs/by-name/ha/harmonist/package.nix +++ b/pkgs/by-name/ha/harmonist/package.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildGoModule, fetchFromCodeberg, }: @@ -12,7 +13,13 @@ buildGoModule (finalAttrs: { owner = "anaseto"; repo = "harmonist"; tag = "v${finalAttrs.version}"; - hash = "sha256-9cEKkvQze+hg4CwDe5epTpuQPevylwnSP5xQAVGJ/wQ="; + hash = + # darwin's case-insensitive filesystem produces a different source hash because of map-d vs map-D + # is this a correctness issue? + if stdenv.hostPlatform.isDarwin then + "sha256-yNPGoCvCdrmFaUjtA1p8pgPIC9ekIizhG6oMiYRFYGA=" + else + "sha256-9cEKkvQze+hg4CwDe5epTpuQPevylwnSP5xQAVGJ/wQ="; }; vendorHash = "sha256-wibNLDdykV2psOnJbMKu0EZSrrhKRxrN/OTWXmUz2FM=";