superfile: fix build

+13 -2
+13 -2
pkgs/by-name/su/superfile/package.nix
··· 1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6 writableTmpDirAsHomeHook, 7 }: 8 let 9 version = "1.3.2"; ··· 27 "-w" 28 ]; 29 30 nativeCheckInputs = [ writableTmpDirAsHomeHook ]; 31 32 - # Upstream notes that this could be flakey, and it consistently fails for me. 33 - checkFlags = [ "-skip=^TestReturnDirElement/Sort_by_Date$" ]; 34 35 passthru.updateScript = nix-update-script { }; 36
··· 1 { 2 lib, 3 + stdenv, 4 buildGoModule, 5 fetchFromGitHub, 6 nix-update-script, 7 writableTmpDirAsHomeHook, 8 + exiftool, 9 }: 10 let 11 version = "1.3.2"; ··· 29 "-w" 30 ]; 31 32 + nativeBuildInputs = [ exiftool ]; 33 + 34 nativeCheckInputs = [ writableTmpDirAsHomeHook ]; 35 36 + # Upstream notes that this could be flaky, and it consistently fails for me. 37 + checkFlags = [ 38 + "-skip=^TestReturnDirElement/Sort_by_Date$" 39 + ] 40 + ++ lib.optionals stdenv.isDarwin [ 41 + # Only failing on nix darwin. I suspect this is due to the way 42 + # darwin handles file permissions. 43 + "-skip=^TestCompressSelectedFiles" 44 + ]; 45 46 passthru.updateScript = nix-update-script { }; 47