wiki-tui: fix build on darwin
This commit is contained in:
parent
458ea7e649
commit
8c220df794
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, nix-update-script }:
|
||||
{ lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, stdenv, nix-update-script, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wiki-tui";
|
||||
|
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-aCfYb5UvlWbBvBlwNjVIbOJlEV2b3+FD0qKO+9h5Nos=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses openssl ];
|
||||
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
|
|
@ -32438,7 +32438,9 @@ with pkgs;
|
|||
|
||||
wiki-js = callPackage ../servers/web-apps/wiki-js { };
|
||||
|
||||
wiki-tui = callPackage ../misc/wiki-tui { };
|
||||
wiki-tui = callPackage ../misc/wiki-tui {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
winePackagesFor = wineBuild: lib.makeExtensible (self: with self; {
|
||||
callPackage = newScope self;
|
||||
|
|
Loading…
Reference in a new issue