summary refs log tree commit diff
diff options
context:
space:
mode:
authorStephane Raux <stephaneyfx@gmail.com>2020-10-29 00:05:44 -0700
committerStephane Raux <stephaneyfx@gmail.com>2020-10-29 13:08:39 -0700
commitd1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b (patch)
treeefa6747010d332d714bf9d23ffb86700506a254f
parentdf6068e934ad2ea8db02609c335b23ac96c3d286 (diff)
downloadnixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.tar
nixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.tar.gz
nixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.tar.bz2
nixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.tar.lz
nixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.tar.xz
nixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.tar.zst
nixpkgs-d1cf7bd44ebf7dd8f0c889f56e5095ee0953df0b.zip
numix-cursor-theme: patch inkscape command
The generated cursor files were previously empty due to inkscape rejecting the command line argument. See #98481.
-rw-r--r--pkgs/data/icons/numix-cursor-theme/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/data/icons/numix-cursor-theme/default.nix b/pkgs/data/icons/numix-cursor-theme/default.nix
index d0411a8c569..7ff3c4ca23c 100644
--- a/pkgs/data/icons/numix-cursor-theme/default.nix
+++ b/pkgs/data/icons/numix-cursor-theme/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, inkscape, xcursorgen }:
+{ stdenv, fetchFromGitHub, fetchpatch, inkscape, xcursorgen }:
 
 stdenv.mkDerivation rec {
   version = "1.1";
@@ -14,6 +14,15 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ inkscape xcursorgen ];
 
+  patches = [
+    # Remove when https://github.com/numixproject/numix-cursor-theme/pull/7 is merged
+    (fetchpatch {
+      url = "https://github.com/stephaneyfx/numix-cursor-theme/commit/3b647bf768cebb8f127b88e3786f6a9640460197.patch";
+      sha256 = "174kmhlvv76wwvndkys78aqc32051sqg3wzc0xg6b7by4agrbg76";
+      name = "support-inkscape-1-in-numix-cursor-theme.patch";
+    })
+  ];
+
   buildPhase = ''
     patchShebangs .
     HOME=$TMP ./build.sh