From ce9d0969213a0cd6cd6339d0e5a1e76416eb5c45 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 26 Nov 2024 12:35:09 +0100 Subject: [PATCH] jsonwatch: refactor --- pkgs/tools/misc/jsonwatch/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/jsonwatch/default.nix b/pkgs/tools/misc/jsonwatch/default.nix index 44fc53b878dc..fe028a1c8b7b 100644 --- a/pkgs/tools/misc/jsonwatch/default.nix +++ b/pkgs/tools/misc/jsonwatch/default.nix @@ -10,9 +10,9 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "dbohdan"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-WzQ793dLb8OujNpEq7UXIgJM+lz0WZEVlbKmwM58klU="; + repo = "jsonwatch"; + rev = "refs/tags/v${version}"; + hash = "sha256-WzQ793dLb8OujNpEq7UXIgJM+lz0WZEVlbKmwM58klU="; }; cargoHash = "sha256-76Vvs3OaxYDZE39d9h3T8HhYQfHhY5D17PgQxcPrMyc=";