about summary refs log tree commit diff
path: root/pkgs/applications/graphics/oculante
diff options
context:
space:
mode:
authorh7x4 <h7x4@nani.wtf>2023-12-01 22:17:20 +0100
committerh7x4 <h7x4@nani.wtf>2023-12-02 06:57:21 +0100
commitefdec26090fe6c61327b67d933e39d694da36bc2 (patch)
treeebdd2c343c8be18cbcfb29b81babb409682eee53 /pkgs/applications/graphics/oculante
parent5171694860f185961daff3b1b413dabcab421300 (diff)
treewide: install missing desktopItems
Diffstat (limited to 'pkgs/applications/graphics/oculante')
-rw-r--r--pkgs/applications/graphics/oculante/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/oculante/default.nix b/pkgs/applications/graphics/oculante/default.nix
index 676cb3452afaa..1351f711f56d0 100644
--- a/pkgs/applications/graphics/oculante/default.nix
+++ b/pkgs/applications/graphics/oculante/default.nix
@@ -66,6 +66,11 @@ rustPlatform.buildRustPackage rec {
     "--skip=bench"
   ];
 
+  postInstall = ''
+    install -Dm444 $src/res/oculante.png -t $out/share/icons/hicolor/128x128/apps/
+    install -Dm444 $src/res/oculante.desktop -t $out/share/applications
+  '';
+
   postFixup = lib.optionalString stdenv.isLinux ''
     patchelf $out/bin/oculante --add-rpath ${lib.makeLibraryPath [ libxkbcommon libX11 ]}
   '';