cliscord: fix build on Darwin

Security needs to be added as a buildInput.
main
Theodore Ni 2 years ago
parent cdb8f017e7
commit b1e6ccc862
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
  1. 4
      pkgs/misc/cliscord/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -1,4 +1,4 @@
{ lib, rustPlatform, openssl, pkg-config, fetchFromGitHub }: { lib, stdenv, rustPlatform, openssl, pkg-config, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cliscord"; pname = "cliscord";
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-hzZozgOkw8kFppuHiX9TQxHhxKRv8utWWbhEOIzKDLo="; sha256 = "sha256-hzZozgOkw8kFppuHiX9TQxHhxKRv8utWWbhEOIzKDLo=";
}; };
buildInputs = [ openssl ]; buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

@ -14142,7 +14142,9 @@ with pkgs;
clips = callPackage ../development/interpreters/clips { }; clips = callPackage ../development/interpreters/clips { };
cliscord = callPackage ../misc/cliscord { }; cliscord = callPackage ../misc/cliscord {
inherit (darwin.apple_sdk.frameworks) Security;
};
clisp = callPackage ../development/interpreters/clisp { }; clisp = callPackage ../development/interpreters/clisp { };
clisp-tip = callPackage ../development/interpreters/clisp/hg.nix { }; clisp-tip = callPackage ../development/interpreters/clisp/hg.nix { };

Loading…
Cancel
Save