diff --git a/recipes/wip/ruff/recipe.toml b/recipes/wip/ruff/recipe.toml
index cd97b2adbe7ec26565a1b7ecea8e4d471f946a86..f5a07e99cf4e84f582cdae2b8ef71d48cf44a10e 100644
--- a/recipes/wip/ruff/recipe.toml
+++ b/recipes/wip/ruff/recipe.toml
@@ -3,4 +3,7 @@
 git = "https://github.com/charliermarsh/ruff"
 rev = "0263f2715eba81aee471e3dd5a50ea5f9426cbb1"
 [build]
-template = "cargo"
+template = "custom"
+script = """
+cookbook_cargo_packages ruff_cli
+"""