Loading pkgs/by-name/go/go-task/package.nix +19 −15 Original line number Diff line number Diff line { lib , buildGoModule , fetchFromGitHub , installShellFiles , testers , nix-update-script , go-task { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, testers, nix-update-script, go-task, }: buildGoModule rec { Loading Loading @@ -34,9 +36,11 @@ buildGoModule rec { env.CGO_ENABLED = 0; postInstall = '' postInstall = '' ln -s $out/bin/task $out/bin/go-task '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd task \ --bash <($out/bin/task --completion bash) \ --fish <($out/bin/task --completion fish) \ Loading Loading
pkgs/by-name/go/go-task/package.nix +19 −15 Original line number Diff line number Diff line { lib , buildGoModule , fetchFromGitHub , installShellFiles , testers , nix-update-script , go-task { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, testers, nix-update-script, go-task, }: buildGoModule rec { Loading Loading @@ -34,9 +36,11 @@ buildGoModule rec { env.CGO_ENABLED = 0; postInstall = '' postInstall = '' ln -s $out/bin/task $out/bin/go-task '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd task \ --bash <($out/bin/task --completion bash) \ --fish <($out/bin/task --completion fish) \ Loading