innoextract: fixed darwin build

This commit is contained in:
alina sireneva 2024-05-20 23:10:17 +03:00
parent 8eaad3548e
commit 1e3397fd4b
No known key found for this signature in database

View File

@ -1,6 +1,14 @@
{ lib, stdenv, fetchurl, cmake, makeWrapper
, boost, xz
, withGog ? false, unar ? null }:
{ lib
, stdenv
, fetchurl
, cmake
, makeWrapper
, boost
, xz
, libiconv
, withGog ? false
, unar ? null
}:
stdenv.mkDerivation rec {
pname = "innoextract";
@ -11,7 +19,8 @@ stdenv.mkDerivation rec {
sha256 = "09l1z1nbl6ijqqwszdwch9mqr54qb7df0wp2sd77v17dq6gsci33";
};
buildInputs = [ xz boost ];
buildInputs = [ xz boost ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
# Python is reported as missing during the build, however
# including Python does not change the output.