Skip to content

Add Databricks CLI v0.286.0 as a nix module (CLOUD-3765)#477

Open
luketchang wants to merge 1 commit intomainfrom
luketchang/add-databricks-cli
Open

Add Databricks CLI v0.286.0 as a nix module (CLOUD-3765)#477
luketchang wants to merge 1 commit intomainfrom
luketchang/add-databricks-cli

Conversation

@luketchang
Copy link

Why

Databricks apps on Replit need the databricks CLI available by default. Currently users have to manually download it. Adding it as a nix module makes it available in the nix cacache so Repls have this CLI out of the box.

Slack thread: https://slack.com/archives/D0AFAFQP10E/p1773937534232109

What changed

  • Added a new databricks-cli module under pkgs/modules/databricks-cli/default.nix that fetches the pre-built statically-linked Databricks CLI v0.286.0 binary from the official GitHub releases
  • Registered the module in pkgs/modules/default.nix

The derivation uses stdenvNoCC since no compilation is needed — it downloads the linux_amd64 tarball and installs the binary to $out/bin/databricks.

Test plan

  • Built both the dev and deployment module targets successfully:
    • nix build '.#activeModules.databricks-cli' — builds and produces correct module JSON
    • nix build '.#activeDeploymentModules.databricks-cli' — builds successfully
  • Verified the binary executes correctly and reports the expected version:
    $ /nix/store/.../bin/databricks --version
    Databricks CLI v0.286.0
    

Rollout

  • This is fully backward and forward compatible

~ written by Zerg 👾

Add a new module that packages the pre-built Databricks CLI binary
from GitHub releases so Repls can have the databricks command
available by default for Databricks apps.
@luketchang luketchang added the zergling-authored Authored by Zerg agent label Mar 19, 2026
@luketchang luketchang marked this pull request as ready for review March 20, 2026 02:45
@luketchang luketchang requested a review from a team as a code owner March 20, 2026 02:45
@luketchang luketchang requested review from vlinkz and removed request for a team March 20, 2026 02:45
@luketchang luketchang changed the title Add Databricks CLI v0.286.0 as a nix module Add Databricks CLI v0.286.0 as a nix module (CLOUD-3765) Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

zergling-authored Authored by Zerg agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant