Skip to content

Commit f69e2af

Browse files
committed
nwg-panel: move icon to spec-compliant location
1 parent 40e883a commit f69e2af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pkgs/by-name/nw/nwg-panel/package.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ python3Packages.buildPythonApplication (finalAttrs: {
6666
++ [ libdbusmenu-gtk3 ];
6767

6868
postInstall = ''
69-
mkdir -p $out/share/{applications,pixmaps}
70-
cp $src/nwg-panel-config.desktop nwg-processes.desktop $out/share/applications/
71-
cp $src/nwg-shell.svg $src/nwg-panel.svg nwg-processes.svg $out/share/pixmaps/
69+
install -D $src/nwg-panel-config.desktop nwg-processes.desktop -t $out/share/applications/
70+
install -D $src/nwg-shell.svg $src/nwg-panel.svg nwg-processes.svg -t $out/share/icons/hicolor/scalable/apps/
7271
'';
7372

7473
preFixup = ''

0 commit comments

Comments
 (0)