procs: fix darwin build (#117559)

This commit is contained in:
Raphael Megzari
2021-03-25 04:39:32 -04:00
committed by GitHub
parent b4cceda454
commit 3c486fb51c
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "procs";
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
done
'';
buildInputs = lib.optional stdenv.isDarwin Security;
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
meta = with lib; {
description = "A modern replacement for ps written in Rust";
+1
View File
@@ -2836,6 +2836,7 @@ in
procs = callPackage ../tools/admin/procs {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin) libiconv;
};
psrecord = python3Packages.callPackage ../tools/misc/psrecord {};