diff options
author | InternetUnexplorer <internetunexplorer@gmail.com> | 2022-02-05 23:50:46 -0800 |
---|---|---|
committer | InternetUnexplorer <internetunexplorer@gmail.com> | 2022-02-05 23:50:46 -0800 |
commit | deebff0d5a6637ee7c2e6dffe005c10b44b451fe (patch) | |
tree | ea635b327cb38d6b92eddc4f06844a770d956f2c /pkgs/data | |
parent | 554d2d8aa25b6e583575459c297ec23750adb6cb (diff) | |
download | nixlib-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar nixlib-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.gz nixlib-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.bz2 nixlib-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.lz nixlib-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.xz nixlib-deebff0d5a6637ee7c2e6dffe005c10b44b451fe.tar.zst nixlib-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')
-rw-r--r-- | pkgs/data/icons/phinger-cursors/default.nix | 2 |
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 4252136cf46b..5afd2fe228f6 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 ''; |