summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/version-management
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2020-12-30 03:05:47 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2020-12-30 03:05:47 +0100
commita69b5bf7ec4a402c6eff2f46d418f8f805a6f5ce (patch)
treee496b5f4965040e002a7c2dbd4da46cb4361376e /pkgs/applications/version-management
parent3c08a64b7dc4bf94a4e83dd0eac3253138ccfaea (diff)
gitoxide: Fix build on darwin
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r--pkgs/applications/version-management/gitoxide/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/version-management/gitoxide/default.nix b/pkgs/applications/version-management/gitoxide/default.nix
index bdb3e4825b92..f7a17e510f4b 100644
--- a/pkgs/applications/version-management/gitoxide/default.nix
+++ b/pkgs/applications/version-management/gitoxide/default.nix
@@ -1,4 +1,4 @@
-{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
+{ stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
rustPlatform.buildRustPackage rec {
pname = "gitoxide";
@@ -14,14 +14,14 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "mitUyf/z7EgjKzFy8ZER8Ceoe9tk6r0ctSYdDG87rIU=";
nativeBuildInputs = [ pkg-config ];
- buildInputs = [ openssl ];
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
# Needed to get openssl-sys to use pkgconfig.
OPENSSL_NO_VENDOR = 1;
- meta = with lib; {
- description =
- "A command-line application for interacting with git repositories";
+ meta = with stdenv.lib; {
+ description = "A command-line application for interacting with git repositories";
homepage = "https://github.com/Byron/gitoxide";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = [ maintainers.syberant ];