diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix index 581d9d171b95..d0f0dd3149c9 100644 --- a/pkgs/applications/networking/instant-messengers/slack/default.nix +++ b/pkgs/applications/networking/instant-messengers/slack/default.nix @@ -23,6 +23,7 @@ let libnotify nspr nss + stdenv.cc.cc systemd xorg.libX11 @@ -57,7 +58,7 @@ in stdenv.mkDerivation { mkdir -p $out dpkg -x $src $out cp -av $out/usr/* $out - rm -rf $out/usr + rm -rf $out/usr $out/share/lintian # Otherwise it looks "suspicious" chmod -R g-w $out @@ -73,7 +74,8 @@ in stdenv.mkDerivation { # Fix the desktop link substituteInPlace $out/share/applications/slack.desktop \ - --replace /usr/lib/slack/slack $out/lib/slack/slack + --replace /usr/bin/ $out/bin/ \ + --replace /usr/share/ $out/share/ ''; meta = with stdenv.lib; {