File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
pkgs/applications/audio/pt2-clone Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,13 @@ stdenv.mkDerivation (finalAttrs: {
2222
2323 postInstall = ''
2424 install -Dm444 "$src/release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" \
25- -t $out/share/applications
25+ $out/share/applications/pt2-clone.desktop
2626 install -Dm444 "$src/release/other/Freedesktop.org Resources/ProTracker 2 clone.png" \
27- -t $out/share/icons/hicolor/512x512/apps
27+ $out/share/icons/hicolor/512x512/apps/pt2-clone.png
28+ # gtk-update-icon-cache does not like whitespace. Note that removing this
29+ # will not make the build fail, but it will make the NixOS test fail.
30+ substituteInPlace $out/share/applications/pt2-clone.desktop \
31+ --replace-fail "Icon=ProTracker 2 clone" Icon=pt2-clone
2832 '' ;
2933
3034 passthru . tests = {
You can’t perform that action at this time.
0 commit comments