slack: copy entire .app on darwin

This commit is contained in:
Sizhe Zhao
2025-08-29 19:40:25 +08:00
parent f19395ed10
commit a78e39d566
+3 -3
View File
@@ -228,12 +228,12 @@ let
nativeBuildInputs = [ undmg ];
sourceRoot = "Slack.app";
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/Applications/Slack.app
cp -R . $out/Applications/Slack.app
mkdir -p $out/Applications
cp -a Slack.app $out/Applications
runHook postInstall
'';
};