feat: made unix-loader more stable on FreeBSD
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user