Skip to content

fix: install postgres driver in nix flake#154

Closed
joonnna wants to merge 1 commit intoMaxteabag:mainfrom
joonnna:main
Closed

fix: install postgres driver in nix flake#154
joonnna wants to merge 1 commit intoMaxteabag:mainfrom
joonnna:main

Conversation

@joonnna
Copy link
Copy Markdown

@joonnna joonnna commented Mar 4, 2026

Currently when starting the nix flake pip is not installed so its not possible to install the missing Postgres driver.

Maxteabag added a commit that referenced this pull request Apr 18, 2026
Main currently ships a flake with zero DB drivers — SQLite works via
stdlib but nothing else does, and Nix users can't add drivers
post-install. Drop the no-driver default; the out-of-box derivation
now pulls in every extra nixpkgs can satisfy (ssh, postgres,
cockroachdb, mysql, duckdb, bigquery, snowflake, d1). Custom builds
still go through lib.makeSqlit { extras = [ ... ]; }.

Closes the gap reported in #126 and #154.
@Maxteabag
Copy link
Copy Markdown
Owner

Thanks for the PR. I will merging another PR that will include all DB drivers. Not optimal but seems like the way to go with nix for now.

@Maxteabag Maxteabag closed this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants