Hi, On 05/06/15 01:03, Arseniy Seroka wrote:
> Trying to execute any nix command (nix-env, nixos-rebuild, nix-store) > and getting this `error: querying path in database: database > disk image is malformed`. What's that and how to repair? It means SQLite has trouble reading the Nix database (/nix/var/nix/db/db.sqlite). Can you make a backup of that file and then see what this says: $ sqlite3 /nix/var/nix/db/db.sqlite 'pragma integrity_check' -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev