diff --git a/pkgs/tools/text/coloursum/default.nix b/pkgs/tools/text/coloursum/default.nix index 133b9968850c..5cac5a9f90e5 100644 --- a/pkgs/tools/text/coloursum/default.nix +++ b/pkgs/tools/text/coloursum/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform }: +{ stdenv, fetchFromGitHub, rustPlatform, Security }: rustPlatform.buildRustPackage rec { pname = "coloursum"; @@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "091flc5ymx0y43ld6bdmig5cy479b90bkmwv3yaysi5kpr28skvh"; + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; + meta = with stdenv.lib; { description = "Colourise your checksum output"; homepage = "https://github.com/ticky/coloursum"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 763985880650..781d206b0656 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1456,7 +1456,9 @@ in colorls = callPackage ../tools/system/colorls { }; - coloursum = callPackage ../tools/text/coloursum { }; + coloursum = callPackage ../tools/text/coloursum { + inherit (darwin.apple_sdk.frameworks) Security; + }; compsize = callPackage ../os-specific/linux/compsize { };