Skip to content

Commit 29da90e

Browse files
stackptrclaude
andcommitted
fix: use fetchzip for agentsview package
fetchurl hashes the raw tarball while nix-prefetch-url --unpack hashes the extracted contents. Switch to fetchzip to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4dd91a3 commit 29da90e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/agentsview/package.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
stdenv,
4-
fetchurl,
4+
fetchzip,
55
autoPatchelfHook,
66
}: let
77
version = "0.15.0";
@@ -17,14 +17,12 @@
1717
};
1818
};
1919

20-
src = fetchurl (sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}"));
20+
src = fetchzip (sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}"));
2121
in
2222
stdenv.mkDerivation {
2323
pname = "agentsview";
2424
inherit version src;
2525

26-
sourceRoot = ".";
27-
2826
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [autoPatchelfHook];
2927

3028
installPhase = ''

0 commit comments

Comments
 (0)