feat: made unix-loader more stable on FreeBSD

This commit is contained in:
Andrew Rioux
2025-02-03 02:37:17 -05:00
parent d8a277e769
commit 00331ec550
9 changed files with 159 additions and 59 deletions
+8 -4
View File
@@ -56,12 +56,11 @@
libpcap-linux-musl libpcap-freebsd;
buildTools = with pkgs; rec {
linux = [
base = [
# Tools for local compilation
lld
zig
clang
glibc
libclang
mold
@@ -72,9 +71,10 @@
binaryen
sqlx-cli
];
freebsd = buildTools.linux
linux = buildTools.base ++ [ glibc musl ];
freebsd = buildTools.base
++ [ pkgsCross.x86_64-freebsd.buildPackages.clang ];
windows = buildTools.linux ++ [
windows = buildTools.base ++ [
pkgsCross.mingwW64.stdenv.cc
pkgsCross.mingwW64.windows.pthreads
];
@@ -95,6 +95,10 @@
# Cargo lint tools
taplo
cargo-deny
# Docs
man-pages
man-pages-posix
];
craneLib = (crane.mkLib pkgs).overrideToolchain (p: