mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #189252 from viraptor/hivex-darwin
hivex: fix darwin build
This commit is contained in:
commit
005d1759d4
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue