From 5b516ba8f4fd8d8e7e1c499ba36a7b6de57a0420 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Wed, 30 Jul 2025 13:32:40 +0200 Subject: [PATCH 1/2] superfile: fix build --- pkgs/by-name/su/superfile/package.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/su/superfile/package.nix b/pkgs/by-name/su/superfile/package.nix index f6e0400a997f..3490920389d9 100644 --- a/pkgs/by-name/su/superfile/package.nix +++ b/pkgs/by-name/su/superfile/package.nix @@ -1,9 +1,11 @@ { lib, + stdenv, buildGoModule, fetchFromGitHub, nix-update-script, writableTmpDirAsHomeHook, + exiftool, }: let version = "1.3.2"; @@ -27,10 +29,19 @@ buildGoModule { "-w" ]; + nativeBuildInputs = [ exiftool ]; + nativeCheckInputs = [ writableTmpDirAsHomeHook ]; - # Upstream notes that this could be flakey, and it consistently fails for me. - checkFlags = [ "-skip=^TestReturnDirElement/Sort_by_Date$" ]; + # Upstream notes that this could be flaky, and it consistently fails for me. + checkFlags = [ + "-skip=^TestReturnDirElement/Sort_by_Date$" + ] + ++ lib.optionals stdenv.isDarwin [ + # Only failing on nix darwin. I suspect this is due to the way + # darwin handles file permissions. + "-skip=^TestCompressSelectedFiles" + ]; passthru.updateScript = nix-update-script { }; From a167470f76eb475c3a2326ffb91612fb152bc8b8 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Wed, 30 Jul 2025 13:35:29 +0200 Subject: [PATCH 2/2] superfile: 1.3.2 -> 1.3.3 --- pkgs/by-name/su/superfile/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/su/superfile/package.nix b/pkgs/by-name/su/superfile/package.nix index 3490920389d9..24c64a9ac658 100644 --- a/pkgs/by-name/su/superfile/package.nix +++ b/pkgs/by-name/su/superfile/package.nix @@ -8,7 +8,7 @@ exiftool, }: let - version = "1.3.2"; + version = "1.3.3"; tag = "v${version}"; in buildGoModule { @@ -19,7 +19,7 @@ buildGoModule { owner = "yorukot"; repo = "superfile"; inherit tag; - hash = "sha256-IzdaOJcwi7+8d8QpTLPJwEhffEz4h0Rdv7APOMcnTHw="; + hash = "sha256-A1SWsBcPtGNbSReslp5L3Gg4hy3lDSccqGxFpLfVPrk="; }; vendorHash = "sha256-sqt0BzJW1nu6gYAhscrXlTAbwIoUY7JAOuzsenHpKEI=";