diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-04-23 15:52:30 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-23 15:52:30 +0000 |
commit | 01ea399625058f55e5bac354a4edc8411851f0f7 (patch) | |
tree | 1c7b644e8aab5603ce5488e1852c015a07908029 /pkgs/os-specific/bsd | |
parent | 7cdc46f4e3cccd17b04ebe120a02e0906a91761f (diff) | |
download | nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.tar nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.tar.gz nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.tar.bz2 nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.tar.lz nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.tar.xz nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.tar.zst nixpkgs-01ea399625058f55e5bac354a4edc8411851f0f7.zip |
netbsd.libutil: fix build
Tested by building pkgsCross.x86_64-netbsd.netbsd.libutil on x86_64-linux.
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r-- | pkgs/os-specific/bsd/netbsd/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index 13ae4fa3749..1a3d1161129 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -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 { |