From a6e8f64cd066e542d6dfd1982f5e367ec45c82a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Thu, 1 Sep 2022 21:25:37 +1000 Subject: [PATCH] hivex: fix darwin build --- pkgs/development/libraries/hivex/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/hivex/default.nix b/pkgs/development/libraries/hivex/default.nix index e5d44edb6e74..85ca439b88fc 100644 --- a/pkgs/development/libraries/hivex/default.nix +++ b/pkgs/development/libraries/hivex/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkg-config, autoreconfHook, makeWrapper -, perlPackages, libxml2, libiconv }: +, perlPackages, libxml2, libintl }: stdenv.mkDerivation rec { pname = "hivex"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { libxml2 ] ++ (with perlPackages; [ perl IOStringy ]) - ++ lib.optionals stdenv.isDarwin [ libiconv ]; + ++ lib.optionals stdenv.isDarwin [ libintl ]; postInstall = '' wrapProgram $out/bin/hivexregedit \ @@ -29,11 +29,10 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; description = "Windows registry hive extraction library"; license = licenses.lgpl2; homepage = "https://github.com/libguestfs/hivex"; maintainers = with maintainers; [offline]; - platforms = platforms.linux ++ platforms.darwin; + platforms = platforms.unix; }; }