From f5ca57b6d909b8224acdacfcc587537e169e6683 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 20 May 2018 17:55:21 -0500 Subject: powerline-rs: Fix darwin build (#40840) --- pkgs/tools/misc/powerline-rs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/tools/misc/powerline-rs/default.nix') diff --git a/pkgs/tools/misc/powerline-rs/default.nix b/pkgs/tools/misc/powerline-rs/default.nix index e48816db935a9..138145683cb84 100644 --- a/pkgs/tools/misc/powerline-rs/default.nix +++ b/pkgs/tools/misc/powerline-rs/default.nix @@ -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}" -- cgit 1.4.1