about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorLauren Yim <31467609+cherryblossom000@users.noreply.github.com>2023-06-08 10:07:03 +1000
committercherryblossom <cherryblossom0001234@gmail.com>2023-06-08 23:58:41 +1000
commit116e050d768f20ce07ec7e46c9454933139972d9 (patch)
tree8931aeeb6bb1909fdf5591c29e2908b1cf598dd7 /pkgs/applications/misc
parentfbb31c62e880ec90674ac9640f6ab18ecd83aa7f (diff)
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 <pol.dellaiera@protonmail.com>
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/spicetify-cli/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/spicetify-cli/default.nix b/pkgs/applications/misc/spicetify-cli/default.nix
index b4d4566863bd4..f80da1360e60e 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=";