diff --git a/controller/Cargo.toml b/controller/Cargo.toml
index fe3cd11..4bab331 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 452ed2e..2edb4bb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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
           ];