communi: fix darwin build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-17 14:46:02 +01:00
parent 421ac69830
commit 99d56c542e
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
"
'';
postInstall = ''
postInstall = stdenv.lib.optionalString stdenv.isLinux ''
substituteInPlace "$out/share/applications/communi.desktop" \
--replace "/usr/bin" "$out/bin"
'';