Skip to content

Commit 3553a55

Browse files
committed
Include all available drivers in the default Nix build
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.
1 parent f80cb37 commit 3553a55

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pip install sqlit-tui
113113
# Arch Linux (AUR)
114114
yay -S sqlit
115115

116-
# Nix (flake) — append "#sqlit-full" for common DB drivers
116+
# Nix (flake)
117117
nix run github:Maxteabag/sqlit
118118
```
119119

flake.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,10 @@
9898
};
9999
};
100100

101-
sqlit = makeSqlit { };
102-
sqlit-full = makeSqlit { extras = builtins.attrNames nixpkgsExtras; };
101+
sqlit = makeSqlit { extras = builtins.attrNames nixpkgsExtras; };
103102
in {
104103
packages = {
105-
inherit sqlit sqlit-full;
104+
inherit sqlit;
106105
default = sqlit;
107106
};
108107

0 commit comments

Comments
 (0)