genimage: add autoreconfHook, fixes cross compilation

This commit is contained in:
Nick Cao 2022-10-14 14:30:22 +08:00 committed by Bjørn Forsman
parent 789fdb9168
commit 90bf453de1

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, libconfuse, gettext }:
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libconfuse, gettext }:
stdenv.mkDerivation rec {
pname = "genimage";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-hp+WYtO3eMabHR/nDfZY4cnpCu2iart1P2/lXosMbnM=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libconfuse gettext ];
postInstall = ''