Merge pull request #154863 from NixOS/sqlcipher-json1

This commit is contained in:
Sandro 2022-01-14 13:39:24 +01:00 committed by GitHub
commit 523f525ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, openssl, tcl, installShellFiles, buildPackages, readline, ncurses, zlib }:
{ stdenv, lib, fetchFromGitHub, openssl, tcl, installShellFiles, buildPackages, readline, ncurses, zlib, sqlite }:
stdenv.mkDerivation rec {
pname = "sqlcipher";
@ -21,9 +21,8 @@ stdenv.mkDerivation rec {
];
CFLAGS = [
"-DSQLITE_ENABLE_COLUMN_METADATA=1"
"-DSQLITE_SECURE_DELETE=1"
"-DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
# We want feature parity with sqlite
sqlite.NIX_CFLAGS_COMPILE
"-DSQLITE_HAS_CODEC"
];