mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
harmonist: fix Darwin src hash
Unfortunate weird darwin case-insensitivity bug... map-d.png vs map-D.png :( Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
@@ -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=";
|
||||
|
||||
Reference in New Issue
Block a user