mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
eza: use new darwin sdk pattern
This commit is contained in:
parent
f5a35dd142
commit
aa05b55564
@ -1,14 +1,11 @@
|
||||
{ lib
|
||||
, gitSupport ? true
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, cmake
|
||||
, pandoc
|
||||
, pkg-config
|
||||
, zlib
|
||||
, darwin
|
||||
, libiconv
|
||||
, installShellFiles
|
||||
# once eza upstream gets support for setting up a compatibility symlink for exa, we should change
|
||||
# the handling here from postInstall to passing the required argument to the builder.
|
||||
@ -29,8 +26,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoHash = "sha256-fXrw753Hn4fbeX6+GRoH9MKrH0udjxnBK7AVCHnqIcs=";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
|
||||
buildInputs = [ zlib ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = lib.optional gitSupport "git";
|
||||
|
Loading…
Reference in New Issue
Block a user