From 116e050d768f20ce07ec7e46c9454933139972d9 Mon Sep 17 00:00:00 2001 From: Lauren Yim <31467609+cherryblossom000@users.noreply.github.com> Date: Thu, 8 Jun 2023 10:07:03 +1000 Subject: [PATCH] spicetify-cli: change sha256 to hash and don't use pname https://github.com/NixOS/nixpkgs/pull/236215#discussion_r1222859377 From SuperSandro2000 on Matrix: > People should generally not use `pname` wherever possible especially with `finalAttrs` where `pname` could be different. Co-authored-by: Pol Dellaiera --- pkgs/applications/misc/spicetify-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/spicetify-cli/default.nix b/pkgs/applications/misc/spicetify-cli/default.nix index b4d4566863bd..f80da1360e60 100644 --- a/pkgs/applications/misc/spicetify-cli/default.nix +++ b/pkgs/applications/misc/spicetify-cli/default.nix @@ -6,9 +6,9 @@ buildGoModule rec { src = fetchFromGitHub { owner = "spicetify"; - repo = pname; + repo = "spicetify-cli"; rev = "v${version}"; - sha256 = "sha256-6pOFDQqzxA1eHI66BHL9Yst1PtGyJzhmFveCErBA2pU="; + hash = "sha256-6pOFDQqzxA1eHI66BHL9Yst1PtGyJzhmFveCErBA2pU="; }; vendorHash = "sha256-g0SuXDzYjg0mGzeDuB2tQnVnDmTiL5vw0r9QWSgIs3Q=";