From 1f51e3b8afe4f6cf2100ab6c4ff8165644a59332 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Wed, 16 Mar 2016 15:23:10 +0100 Subject: [PATCH] communi: fix .desktop file's `Exec` path Changes `Exec` in `communi.desktop` from `/usr/bin/communi` to `$out/bin/communi`. --- pkgs/applications/networking/irc/communi/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix index 65a526b88af..312fd8df908 100644 --- a/pkgs/applications/networking/irc/communi/default.nix +++ b/pkgs/applications/networking/irc/communi/default.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation rec { postInstall = '' wrapQtProgram "$out/bin/communi" + substituteInPlace "$out/share/applications/communi.desktop" \ + --replace "/usr/bin" "$out/bin" ''; meta = with stdenv.lib; {