mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
noctalia: ensure canExecute when installing shell completions
(cherry picked from commit 480b0208dc)
This commit is contained in:
committed by
Samiser
parent
2e5efa24e9
commit
ee67650fa7
@@ -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