generated from Patagia/template-nix
Compare commits
1 commit
f1122e8e5d
...
c06a3b31b2
Author | SHA1 | Date | |
---|---|---|---|
c06a3b31b2 |
2 changed files with 9 additions and 6 deletions
|
@ -28,7 +28,7 @@ tracing-opentelemetry.workspace = true
|
|||
tracing-slog.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
tracing.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "patagia-controller"
|
||||
doc = false
|
||||
#
|
||||
# [[bin]]
|
||||
# name = "patagia-controller"
|
||||
# doc = false
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
nativeBuildInputs = with pkgs; [
|
||||
clang_18
|
||||
mold
|
||||
openssl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
sourceAndFixtures = path: type: (craneLib.filterCargoSources path type);
|
||||
|
@ -73,6 +73,9 @@
|
|||
inherit src stdenv nativeBuildInputs;
|
||||
strictDeps = true;
|
||||
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||||
buildInputs = with pkgs; [
|
||||
openssl
|
||||
];
|
||||
};
|
||||
|
||||
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
|
||||
|
@ -92,6 +95,7 @@
|
|||
./Cargo.toml
|
||||
./Cargo.lock
|
||||
(craneLib.fileset.commonCargoSources ./agent)
|
||||
(craneLib.fileset.commonCargoSources ./client)
|
||||
(craneLib.fileset.commonCargoSources ./controller)
|
||||
(craneLib.fileset.commonCargoSources ./xtask)
|
||||
(craneLib.fileset.commonCargoSources crate)
|
||||
|
@ -185,7 +189,6 @@
|
|||
cargo-watch
|
||||
hyperfine
|
||||
just
|
||||
pkg-config
|
||||
rust-dev-toolchain
|
||||
watchexec
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue