Skip to content

Commit 1623c3e

Browse files
committed
nixos: Add sqlite to LD_LIBRARY_PATH in shell.nix
Otherwise a few of our tests fail with an error like (trimmed and wrapped): ``` 00:06 +256 -1: test/model/database_test.dart: non-migration tests create account [E] Invalid argument(s): Failed to load dynamic library 'libsqlite3.so': libsqlite3.so: cannot open shared object file: No such file or directory ``` (This didn't always happen, but the regression may have been a while ago; I do only part of my development on NixOS, and I've been tolerating this there for a bit.)
1 parent a8c61ee commit 1623c3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shell.nix

+1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@ mkShell {
4141

4242
LD_LIBRARY_PATH = lib.makeLibraryPath [
4343
fontconfig.lib
44+
sqlite.out
4445
];
4546
}

0 commit comments

Comments
 (0)