diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-04-22 19:10:32 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-23 00:17:05 +0000 |
commit | 5c24380395afd3ad50cf7446f483678fdaab121c (patch) | |
tree | 24a177d09c71d7755a8e43143971f4a5a41e05cb /pkgs/os-specific/bsd | |
parent | 6f1839806a7180b6b7902b9b7bb24a8b4b70f877 (diff) |
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.
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r-- | pkgs/os-specific/bsd/netbsd/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index 61f3a6e58d25c..5492ba9087ed5 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 { |