mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
noctalia: ensure canExecute when installing shell completions (#555049)
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user