1
0
Fork 1
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:
Raphael Megzari 2021-03-25 17:39:32 +09:00 committed by GitHub
parent b4cceda454
commit 3c486fb51c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

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";

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 {};