mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
procs: fix darwin build (#117559)
This commit is contained in:
parent
b4cceda454
commit
3c486fb51c
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "procs";
|
pname = "procs";
|
||||||
|
@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A modern replacement for ps written in Rust";
|
description = "A modern replacement for ps written in Rust";
|
||||||
|
|
|
@ -2836,6 +2836,7 @@ in
|
||||||
|
|
||||||
procs = callPackage ../tools/admin/procs {
|
procs = callPackage ../tools/admin/procs {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
inherit (darwin) libiconv;
|
||||||
};
|
};
|
||||||
|
|
||||||
psrecord = python3Packages.callPackage ../tools/misc/psrecord {};
|
psrecord = python3Packages.callPackage ../tools/misc/psrecord {};
|
||||||
|
|
Loading…
Reference in a new issue