Skip to content

Commit

Permalink
procs: fix cross compilation (#346310)
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Dec 14, 2024
2 parents 56b7562 + b552249 commit 5505316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/admin/procs/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security, libiconv, Libsystem }:
{ lib, stdenv, buildPackages, fetchFromGitHub, rustPlatform, installShellFiles, Security, libiconv, Libsystem }:

rustPlatform.buildRustPackage rec {
pname = "procs";
Expand All @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {

postInstall = ''
for shell in bash fish zsh; do
$out/bin/procs --gen-completion $shell
${stdenv.hostPlatform.emulator buildPackages} $out/bin/procs --gen-completion $shell
done
installShellCompletion procs.{bash,fish} --zsh _procs
'';
Expand Down

0 comments on commit 5505316

Please sign in to comment.