mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
uutils-coreutils: fix darwin build
https://hydra.nixos.org/build/108523395
This commit is contained in:
parent
1d2b233528
commit
51e91f0e8b
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, cargo, cmake, sphinx, lib, prefix ? "uutils-" }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, cargo, cmake, sphinx, lib, prefix ? "uutils-"
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "uutils-coreutils-2019-05-03";
|
||||
@ -19,13 +21,13 @@ rustPlatform.buildRustPackage {
|
||||
++ lib.optional (prefix != null) [ "PROG_PREFIX=${prefix}" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ cargo sphinx ];
|
||||
buildInputs = [ cargo sphinx ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
# empty {build,install}Phase to use defaults of `stdenv.mkDerivation` rather than rust defaults
|
||||
buildPhase = "";
|
||||
installPhase = "";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Cross-platform Rust rewrite of the GNU coreutils";
|
||||
longDescription = ''
|
||||
uutils is an attempt at writing universal (as in cross-platform)
|
||||
|
@ -2957,6 +2957,7 @@ in
|
||||
|
||||
uutils-coreutils = callPackage ../tools/misc/uutils-coreutils {
|
||||
inherit (pythonPackages) sphinx;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
volctl = callPackage ../tools/audio/volctl { };
|
||||
|
Loading…
Reference in New Issue
Block a user