diff --git a/pkgs/tools/admin/procs/default.nix b/pkgs/tools/admin/procs/default.nix index 6b86dc89ac84..b7158eefd68f 100644 --- a/pkgs/tools/admin/procs/default.nix +++ b/pkgs/tools/admin/procs/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security, libiconv }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security, libiconv, Libsystem }: rustPlatform.buildRustPackage rec { pname = "procs"; @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec { installShellCompletion procs.{bash,fish} --zsh _procs ''; - buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; + buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv Libsystem ]; meta = with lib; { description = "A modern replacement for ps written in Rust"; @@ -32,6 +32,5 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/dalance/procs/raw/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne SuperSandro2000 sciencentistguy ]; - broken = stdenv.isDarwin && stdenv.isx86_64; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b2cf0f6efe6a..490b0f7e5b9b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4657,8 +4657,9 @@ with pkgs; pyznap = python3Packages.callPackage ../tools/backup/pyznap {}; - procs = callPackage ../tools/admin/procs { - inherit (darwin.apple_sdk.frameworks) Security; + procs = darwin.apple_sdk_11_0.callPackage ../tools/admin/procs { + inherit (darwin.apple_sdk_11_0.frameworks) Security; + inherit (darwin.apple_sdk_11_0) Libsystem; inherit (darwin) libiconv; };