powerline-rs: Fix darwin build (#40840)
This commit is contained in:
parent
d6a68d4b2d
commit
f5ca57b6d9
@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, pkgconfig, file, perl, cmake, openssl_1_1_0, libssh2, libgit2, libzip }:
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, file, perl, curl, cmake, openssl_1_1_0, libssh2, libgit2, libzip, Security }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "powerline-rs";
|
||||
name = "${pname}-${version}";
|
||||
@ -14,8 +14,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "184s432a6damzvl0lv6jar1iml9dq60r190aqjy44lcg938981zc";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig file perl cmake ];
|
||||
buildInputs = [ openssl_1_1_0 libssh2 libgit2 libzip ];
|
||||
nativeBuildInputs = [ pkgconfig file perl cmake curl ];
|
||||
buildInputs = [ openssl_1_1_0 libssh2 libgit2 libzip ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
postInstall = ''
|
||||
install -Dm 755 "${pname}.bash" "$out/etc/bash_completion.d/${pname}"
|
||||
|
@ -14632,7 +14632,9 @@ with pkgs;
|
||||
|
||||
powerline-go = callPackage ../tools/misc/powerline-go { };
|
||||
|
||||
powerline-rs = callPackage ../tools/misc/powerline-rs { };
|
||||
powerline-rs = callPackage ../tools/misc/powerline-rs {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
profont = callPackage ../data/fonts/profont { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user