ntirpc: fixup build (missing #include)

https://hydra.nixos.org/build/213259376
No idea why it regressed *now*, but I don't expect it matters.
This commit is contained in:
Vladimír Čunát 2023-03-25 09:34:05 +01:00
parent 6a3acb9982
commit eb157e657a
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace ntirpc/netconfig.h --replace "/etc/netconfig" "$out/etc/netconfig"
sed '1i#include <assert.h>' -i src/work_pool.c
'';
nativeBuildInputs = [ cmake ];