diff options
author | Christoph Hrdinka <c.github@hrdinka.at> | 2016-03-16 15:23:10 +0100 |
---|---|---|
committer | Christoph Hrdinka <c.github@hrdinka.at> | 2016-03-16 15:30:01 +0100 |
commit | 1f51e3b8afe4f6cf2100ab6c4ff8165644a59332 (patch) | |
tree | 2ed194662be48bd407f6594d432740a445ef146f /pkgs/applications/networking/irc | |
parent | 71655b0b6946ce98014767957161f93cd69b557d (diff) |
communi: fix .desktop file's `Exec` path
Changes `Exec` in `communi.desktop` from `/usr/bin/communi` to `$out/bin/communi`.
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/communi/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix index 65a526b88af4a..312fd8df908a9 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; { |