mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 03:36:42 +01:00
parent
18b6803912
commit
a4dbf88220
3 changed files with 9 additions and 3 deletions
|
|
@ -13,3 +13,6 @@ syn = { workspace = true }
|
||||||
quote = { workspace = true }
|
quote = { workspace = true }
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2 = { workspace = true }
|
||||||
heck = { workspace = true }
|
heck = { workspace = true }
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "linux")']
|
||||||
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
{pkgs?import<nixpkgs>{}}:let
|
{pkgs?import<nixpkgs>{}}:let
|
||||||
stdenv = pkgs.clang19Stdenv;
|
stdenv = pkgs.clang19Stdenv;
|
||||||
name = "tengri";
|
name = "tengri";
|
||||||
nativeBuildInputs = with pkgs; [ pkg-config libclang ];
|
nativeBuildInputs = [ pkgs.pkg-config pkgs.libclang pkgs.mold ];
|
||||||
buildInputs = with pkgs; [ libclang ];
|
buildInputs = [ pkgs.libclang ];
|
||||||
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
||||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; []);
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [];
|
||||||
in pkgs.mkShell.override {
|
in pkgs.mkShell.override {
|
||||||
inherit stdenv;
|
inherit stdenv;
|
||||||
} {
|
} {
|
||||||
|
|
|
||||||
|
|
@ -22,3 +22,6 @@ tengri_tui = { optional = true, path = "../tui" }
|
||||||
tengri_proc = { path = "../proc" }
|
tengri_proc = { path = "../proc" }
|
||||||
tengri = { path = ".", features = [ "dsl" ] }
|
tengri = { path = ".", features = [ "dsl" ] }
|
||||||
crossterm = { workspace = true }
|
crossterm = { workspace = true }
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "linux")']
|
||||||
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue