From 5c24380395afd3ad50cf7446f483678fdaab121c Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 22 Apr 2021 19:10:32 +0000 Subject: [PATCH] netbsd.libm: fix build Tested building pkgsCross.x86_64-netbsd.netbsd.libm from x86_64-linux. At some point we should probably set SHLIBINSTALLDIR in the setupHook, but I think I'd like to get everything working first, and then make changes that affect all the builds like that. It's easier to spot regressions when you know _everything_ worked before. --- pkgs/os-specific/bsd/netbsd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index 61f3a6e58d2..5492ba9087e 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -704,7 +704,9 @@ in lib.makeScopeWithSplicing path = "lib/libm"; version = "8.0"; sha256 = "0i22603cgj6n00gn2m446v4kn1pk109qs1g6ylrslmihfmiy2h1d"; + SHLIBINSTALLDIR = "$(out)/lib"; meta.platforms = lib.platforms.netbsd; + extraPaths = with self; [ sys.src ]; }; i18n_module = mkDerivation {