From ee0389d810f9467efb065cf45d57d28dbd300f30 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Fri, 15 Jul 2022 12:54:25 +0400 Subject: [PATCH] runzip: enable for Darwin It builds and works just fine on Darwin, it just needs explicit libiconv dependency. --- pkgs/tools/archivers/runzip/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/archivers/runzip/default.nix b/pkgs/tools/archivers/runzip/default.nix index c251cfe0dc30..fddf90a5d23c 100644 --- a/pkgs/tools/archivers/runzip/default.nix +++ b/pkgs/tools/archivers/runzip/default.nix @@ -1,11 +1,11 @@ -{ lib, stdenv, fetchFromGitHub, libzip, autoreconfHook }: +{ lib, stdenv, fetchFromGitHub, libzip, libiconv, autoreconfHook }: stdenv.mkDerivation rec { version = "1.4"; pname = "runzip"; nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ libzip ]; + buildInputs = [ libiconv libzip ]; src = fetchFromGitHub { owner = "vlm"; @@ -16,8 +16,8 @@ stdenv.mkDerivation rec { meta = { description = "A tool to convert filename encoding inside a ZIP archive"; - license = lib.licenses.bsd2 ; - maintainers = [lib.maintainers.raskin]; - platforms = lib.platforms.linux; + license = lib.licenses.bsd2; + maintainers = [ lib.maintainers.raskin ]; + platforms = lib.platforms.unix; }; }