dua: fix darwin build

This commit is contained in:
happysalada
2021-07-22 16:49:34 +09:00
committed by Raphael Megzari
parent 6337261453
commit 94675cc77a
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "dua";
version = "2.14.2";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
src = fetchFromGitHub {
owner = "Byron";
+3 -1
View File
@@ -2565,7 +2565,9 @@ in
dtrx = callPackage ../tools/compression/dtrx { };
dua = callPackage ../tools/misc/dua { };
dua = callPackage ../tools/misc/dua {
inherit (darwin.apple_sdk.frameworks) Foundation;
};
duf = callPackage ../tools/misc/duf { };