slack: fix on darwin

This commit is contained in:
Nikolay Korotkiy 2020-07-01 04:06:10 +03:00
parent af1f7d58ea
commit 6dedc015e9
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -158,7 +158,7 @@ let
mkdir -p $out/Applications
cp -r ./slack-mnt/Slack.app $out/Applications
/usr/bin/hdiutil unmount slack-mnt
defaults write com.tinyspeck.slackmacgap SlackNoAutoUpdates -bool YES
/usr/bin/defaults write com.tinyspeck.slackmacgap SlackNoAutoUpdates -bool YES
'';
};
in if stdenv.isDarwin