noctalia: ensure canExecute when installing shell completions (#555049)

This commit is contained in:
dish
2026-08-21 14:48:58 +00:00
committed by GitHub

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) \