summary refs log tree commit diff
path: root/pkgs/data/icons
diff options
context:
space:
mode:
authorInternetUnexplorer <internetunexplorer@gmail.com>2022-02-05 23:50:46 -0800
committerInternetUnexplorer <internetunexplorer@gmail.com>2022-02-05 23:50:46 -0800
commitdeebff0d5a6637ee7c2e6dffe005c10b44b451fe (patch)
treeea635b327cb38d6b92eddc4f06844a770d956f2c /pkgs/data/icons
parent554d2d8aa25b6e583575459c297ec23750adb6cb (diff)
downloadnixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar
nixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.gz
nixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.bz2
nixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.lz
nixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.xz
nixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.zst
nixpkgs-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.zip
phinger-cursors: fix installPhase
Running `cp -r ./ $out/share/icons` to copy the icon files to
`$out/share/icons` ends up copying the `env-vars` file as well (since
sourceRoot = .), which can lead to collisions when building the system
path.

This uses a wildcard instead, which relies on the assumption that all
variants start with `phinger-cursors`.
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/phinger-cursors/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/data/icons/phinger-cursors/default.nix b/pkgs/data/icons/phinger-cursors/default.nix
index 4252136cf46..5afd2fe228f 100644
--- a/pkgs/data/icons/phinger-cursors/default.nix
+++ b/pkgs/data/icons/phinger-cursors/default.nix
@@ -14,7 +14,7 @@ stdenvNoCC.mkDerivation rec {
   installPhase = ''
     runHook preInstall
     mkdir -p $out/share/icons
-    cp -r ./ $out/share/icons
+    cp -r ./phinger-cursors* $out/share/icons
     runHook postInstall
   '';