From 9fedec7667be3f9eba770158aa3b9c44679383e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Tue, 3 Dec 2024 00:22:45 +0100 Subject: [PATCH] scarab: explicit `rev` and `pname` in `fetchFromGitHub`, migrate to hash --- pkgs/by-name/sc/scarab/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sc/scarab/package.nix b/pkgs/by-name/sc/scarab/package.nix index 7a68681a7f4f5f..58aea58e3e0309 100644 --- a/pkgs/by-name/sc/scarab/package.nix +++ b/pkgs/by-name/sc/scarab/package.nix @@ -15,9 +15,9 @@ buildDotnetModule rec { src = fetchFromGitHub { owner = "fifty-six"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-z1hmMrfeoYyjVEPPjWvUfKUKsOS7UsocSWMYrFY+/kI="; + repo = "scarab"; + rev = "refs/tags/v${version}"; + hash = "sha256-z1hmMrfeoYyjVEPPjWvUfKUKsOS7UsocSWMYrFY+/kI="; }; dotnet-sdk = dotnetCorePackages.sdk_8_0;