pscale: fix cross build

This commit is contained in:
FliegendeWurst
2025-04-10 12:58:51 +02:00
parent fee51ee648
commit 518f6ee7e7
+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) \