libcgroup: fix cross compilation

This commit is contained in:
Nick Cao 2022-12-12 14:49:27 +08:00
parent c7c950be89
commit e75c2fd5f1
No known key found for this signature in database

View file

@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
hash = "sha256-x2yBqpr3LedtWmpZ4K1ipZxIualNJuDtC4FVGzzcQn8=";
};
buildInputs = [ pam bison flex ];
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [ autoreconfHook bison flex ];
buildInputs = [ pam ];
postPatch = ''
substituteInPlace src/tools/Makefile.am \