You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nix-portable nix-shell
error: cannot open SQLite database '/nix/var/nix/db/db.sqlite': unable to open database file
but the nix database works with sqlite3
$ sqlite3 .nix-portable/nix/var/nix/db/db.sqlite .schema | head -n3
CREATE TABLE ValidPaths (
id integer primary key autoincrement not null,
path text unique not null,
i just broke the nix database
by manually running the
bwrap
callprinted by
NP_DEBUG=1 nix-portable nix-shell
now
nix-portable
is brokenbut the nix database works with sqlite3
so maybe the database contents are corrupted?
see my 9MB
.nix-portable/nix/var/nix/db/db.sqlite
inhttps://github.com/milahu/nix-portable-broken-nix-database
(sorry, i dont have the working "before" version)
hard fix:
The text was updated successfully, but these errors were encountered: