From deebff0d5a6637ee7c2e6dffe005c10b44b451fe Mon Sep 17 00:00:00 2001 From: InternetUnexplorer Date: Sat, 5 Feb 2022 23:50:46 -0800 Subject: [PATCH] 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`. --- pkgs/data/icons/phinger-cursors/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '';