From f54df88303f28ecb71600b4314120c50e5c9e3a5 Mon Sep 17 00:00:00 2001 From: Phil Denhoff Date: Thu, 18 Apr 2019 22:37:17 -0700 Subject: [PATCH] insomnia: Fix .desktop to link to Nix bin --- pkgs/development/web/insomnia/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/web/insomnia/default.nix b/pkgs/development/web/insomnia/default.nix index fe47880f0cbe..e941f08c39ce 100644 --- a/pkgs/development/web/insomnia/default.nix +++ b/pkgs/development/web/insomnia/default.nix @@ -76,6 +76,7 @@ in stdenv.mkDerivation rec { mv $out/share/insomnia/*.so $out/lib/ ln -s $out/share/insomnia/insomnia $out/bin/insomnia + sed -i 's|\/opt\/Insomnia|'$out'/bin|g' $out/share/applications/insomnia.desktop ''; preFixup = ''