From bae5ec0faf435143c8cea72924c8c70cf7f70468 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 24 Mar 2018 14:09:00 -0500 Subject: [PATCH] zfs: fix hardcoded include path for libtirpc --- pkgs/os-specific/linux/zfs/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index 6088e86218d1..2535745e3595 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -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 ]