forked from mirrors/nixpkgs
safeeyes: install .desktop file and icons
With the icons at the correct location, you'll even get a correct tray icon.
This commit is contained in:
parent
377600cefd
commit
fa7c114196
|
@ -57,6 +57,9 @@ in buildPythonApplication rec {
|
|||
# safeeyes images
|
||||
--prefix XDG_DATA_DIRS : "$out/lib/${python.libPrefix}/site-packages/usr/share"
|
||||
)
|
||||
mkdir -p $out/share/applications
|
||||
cp -r safeeyes/platform/icons $out/share/
|
||||
cp safeeyes/platform/safeeyes.desktop $out/share/applications/
|
||||
'';
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
|
Loading…
Reference in a new issue