git.iko.soy/typeable/nixpkgs
on master help sign in
gitui: do not compile openssl
commit964b74f6b47b0ffb82d59856eaf527b3b1a8c129 authorhappysalada <raphael@megzari.com> dateWed 15 Sep 2021, 09:47 (5 years ago) parent46ff196
1 file changed+5−2
pkgs/applications/version-management/git-and-tools/gitui/default.nix+5−2
pkgs/applications/version-management/git-and-tools/gitui/default.nix+5−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }:
1+{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip, pkg-config }:
22rustPlatform.buildRustPackage rec {
33 pname = "gitui";
44 version = "0.17.1";
@@ -12,11 +12,14 @@ rustPlatform.buildRustPackage rec {
1212
1313 cargoSha256 = "sha256-9uRvxax0SrvRkD89mbZPxsfRItde11joA/ZgnXK9XBE=";
1414
15− nativeBuildInputs = [ python3 perl ];
15+ nativeBuildInputs = [ python3 perl pkg-config ];
1616 buildInputs = [ openssl ]
1717 ++ lib.optional stdenv.isLinux xclip
1818 ++ lib.optionals stdenv.isDarwin [ libiconv Security AppKit ];
1919
20+ # Needed to get openssl-sys to use pkg-config.
21+ OPENSSL_NO_VENDOR = 1;
22+
2023 meta = with lib; {
2124 description = "Blazing fast terminal-ui for git written in rust";
2225 homepage = "https://github.com/extrawurst/gitui";