nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit afdcd171d2c91276e332e444072ff0aac3696a8c
parent 8900ebb4a5f516b0ae911939ab9057abfbd6ea32
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Thu,  6 May 2021 19:14:42 +0300

Fix repolocli on darwin

Diffstat:
Mpkgs/misc/repolocli/default.nix | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pkgs/misc/repolocli/default.nix b/pkgs/misc/repolocli/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromSourcehut, openssl, pkg-config, makeWrapper }: +{ stdenv, lib, rustPlatform, fetchFromSourcehut, curl, libiconv, openssl, pkg-config, makeWrapper }: rustPlatform.buildRustPackage rec { pname = "repolocli"; @@ -16,7 +16,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config makeWrapper ]; - buildInputs = [ openssl ]; + buildInputs = [ openssl ] + ++ lib.optionals stdenv.isDarwin [ curl libiconv ]; postInstall = '' install -Dm644 repolocli.toml -t $out/etc/xdg