fix: Use wrapGAppsHook4 to actually get icons in the applications

This commit is contained in:
DashieTM 2024-04-19 17:50:12 +02:00
parent 57cacdb1c9
commit 4cfd212947
16 changed files with 3357 additions and 37 deletions

View file

@ -22,7 +22,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-jIdev6K5MQ8jASDo1KWU89rSLd9UhI2MhTT4l7pP+tA=";
nativeBuildInputs = with pkgs;[ pkg-config ];
nativeBuildInputs = with pkgs;[
pkg-config
wrapGAppsHook4
];
buildInputs = with pkgs;[
dbus
@ -30,16 +33,6 @@ rustPlatform.buildRustPackage rec {
gtk-layer-shell
];
#postInstall = ''
# install -D --mode=444 $src/misc/ncspot.desktop $out/share/applications/${pname}.desktop
# install -D --mode=444 $src/images/logo.svg $out/share/icons/hicolor/scalable/apps/${pname}.png
#'';
#passthru = {
# updateScript = nix-update-script { };
# tests.version = testers.testVersion { package = oxinoti; };
#};
meta = with lib; {
description = "A work in progress notification daemon made with rust and gtk.";
homepage = "https://github.com/DashieTM/OxiNoti";