diff --git a/controller/Cargo.toml b/controller/Cargo.toml index 4bab331..fe3cd11 100644 --- a/controller/Cargo.toml +++ b/controller/Cargo.toml @@ -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 diff --git a/flake.nix b/flake.nix index 2edb4bb..452ed2e 100644 --- a/flake.nix +++ b/flake.nix @@ -49,7 +49,7 @@ nativeBuildInputs = with pkgs; [ clang_18 mold - pkg-config + openssl ]; sourceAndFixtures = path: type: (craneLib.filterCargoSources path type); @@ -73,9 +73,6 @@ inherit src stdenv nativeBuildInputs; strictDeps = true; LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib"; - buildInputs = with pkgs; [ - openssl - ]; }; cargoArtifacts = craneLib.buildDepsOnly commonArgs; @@ -95,7 +92,6 @@ ./Cargo.toml ./Cargo.lock (craneLib.fileset.commonCargoSources ./agent) - (craneLib.fileset.commonCargoSources ./client) (craneLib.fileset.commonCargoSources ./controller) (craneLib.fileset.commonCargoSources ./xtask) (craneLib.fileset.commonCargoSources crate) @@ -189,6 +185,7 @@ cargo-watch hyperfine just + pkg-config rust-dev-toolchain watchexec ];