netbsd.libutil: fix build

Tested by building pkgsCross.x86_64-netbsd.netbsd.libutil on
x86_64-linux.
This commit is contained in:
Alyssa Ross 2021-04-23 15:52:30 +00:00
parent 7cdc46f4e3
commit 01ea399625
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

@ -564,7 +564,14 @@ in lib.makeScopeWithSplicing
path = "lib/libutil";
version = "8.0";
sha256 = "077syyxd303m4x7avs5nxzk4c9n13d5lyk5aicsacqjvx79qrk3i";
extraPaths = with self; [ common.src ];
extraPaths = with self; [ common.src libc.src sys.src ];
nativeBuildInputs = with buildPackages.netbsd; [
bsdSetupHook
makeMinimal
byacc install tsort lorder mandoc statHook
];
buildInputs = with self; [ headers ];
SHLIBINSTALLDIR = "$(out)/lib";
};
libedit = mkDerivation {