summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-09-29 11:39:05 +0200
committerGitHub <noreply@github.com>2022-09-29 11:39:05 +0200
commit8bc7b2f21205cc03d264b6de072a97419ea09509 (patch)
treef13d969bef4a2d5bbc5e6e7ff2b77b95c60f9599
parent72f137171e9926a7a13a05985bfcb35a002df84e (diff)
parent2b06dfa6a157de83a6592232eb8f5c28f5fd94ba (diff)
Merge pull request #193156 from SuperSandro2000/SuperSandro2000-patch-1
-rw-r--r--pkgs/development/tools/continuous-integration/fly/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/continuous-integration/fly/default.nix b/pkgs/development/tools/continuous-integration/fly/default.nix
index 1ecd394268cd..7dd67dcebd33 100644
--- a/pkgs/development/tools/continuous-integration/fly/default.nix
+++ b/pkgs/development/tools/continuous-integration/fly/default.nix
@@ -23,7 +23,7 @@ buildGoModule rec {
doCheck = false;
- postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
+ postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd fly \
--bash <($out/bin/fly completion --shell bash) \
--fish <($out/bin/fly completion --shell fish) \