noctalia: ensure canExecute when installing shell completions

(cherry picked from commit 480b0208dc)
This commit is contained in:
Adam C. Stephens
2026-08-21 08:41:26 -04:00
committed by Samiser
parent 2e5efa24e9
commit ee67650fa7

View File

@@ -127,7 +127,7 @@ stdenv.mkDerivation (finalAttrs: {
mesonBuildType = "release";
postInstall = ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd noctalia \
--bash <($out/bin/noctalia completions bash) \
--fish <($out/bin/noctalia completions fish) \