pscale: fix cross build (#397640)

This commit is contained in:
Nick Cao
2025-04-10 17:33:53 -04:00
committed by GitHub
+2 -1
View File
@@ -1,4 +1,5 @@
{
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
@@ -30,7 +31,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd pscale \
--bash <($out/bin/pscale completion bash) \
--fish <($out/bin/pscale completion fish) \