mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 10:56:13 -08:00
build(nix): add mold to the flake dev shell (#2122)
This commit is contained in:
1 parent
fae32361f2
commit
432fcb3fc3
2 files changed
+14
-1
No files matched your search
@@ -67,6 +67,7 @@
|
||||
rust
|
||||
protobuf
|
||||
clang
|
||||
mold
|
||||
pkg-config
|
||||
bridge-utils # for three node test
|
||||
]
|
||||
@@ -98,6 +99,10 @@
|
||||
KCP_SYS_EXTRA_HEADER_PATH = "${pkgs.libclang.lib}/lib/clang/19/include:${pkgs.glibc.dev}/include";
|
||||
JEMALLOC_OVERRIDE = "${pkgs.jemalloc}/lib/libjemalloc.so";
|
||||
}
|
||||
// pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER = "clang";
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER = "clang";
|
||||
}
|
||||
// (if hasFeature "android" then android.envVars else { }));
|
||||
in
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user