From 10e89127994fbeebf7f1cf07df49e9c53bd7eca1 Mon Sep 17 00:00:00 2001 From: Stephane Raux Date: Mon, 22 Nov 2021 08:52:59 -0600 Subject: [PATCH] numix-cursor-theme: Define pname --- pkgs/data/icons/numix-cursor-theme/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/data/icons/numix-cursor-theme/default.nix b/pkgs/data/icons/numix-cursor-theme/default.nix index 2cc3b20811c3..e7f0905ff40e 100644 --- a/pkgs/data/icons/numix-cursor-theme/default.nix +++ b/pkgs/data/icons/numix-cursor-theme/default.nix @@ -1,13 +1,12 @@ { lib, stdenv, fetchFromGitHub, inkscape, xcursorgen }: stdenv.mkDerivation rec { + pname = "numix-cursor-theme"; version = "1.2"; - package-name = "numix-cursor-theme"; - name = "${package-name}-${version}"; src = fetchFromGitHub { owner = "numixproject"; - repo = package-name; + repo = pname; rev = "v${version}"; sha256 = "1q3w5i0h3ly6i7s9pqjdrb14kp89i78s0havri7lhiqyxizjvcvh"; };