Merge pull request #172615 from tjni/fix-cliscord-darwin
cliscord: fix build on Darwin
This commit is contained in:
commit
143aa3e88c
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, openssl, pkg-config, fetchFromGitHub }:
|
||||
{ lib, stdenv, rustPlatform, openssl, pkg-config, fetchFromGitHub, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cliscord";
|
||||
|
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-hzZozgOkw8kFppuHiX9TQxHhxKRv8utWWbhEOIzKDLo=";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
|
|
@ -14148,7 +14148,9 @@ with pkgs;
|
|||
|
||||
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-tip = callPackage ../development/interpreters/clisp/hg.nix { };
|
||||
|
|
Loading…
Reference in a new issue