zfs: fix hardcoded include path for libtirpc

This commit is contained in:
Will Dietz 2018-03-24 14:09:00 -05:00
parent 47dc9d7b35
commit bae5ec0faf

View file

@ -43,6 +43,9 @@ let
postPatch = optionalString buildKernel ''
patchShebangs scripts
'' + optionalString stdenv.hostPlatform.isMusl ''
substituteInPlace config/user-libtirpc.m4 \
--replace /usr/include/tirpc ${libtirpc}/include/tirpc
'';
nativeBuildInputs = [ autoreconfHook nukeReferences ]