mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
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`.
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user