soci: pull in fix for backend search path

This commit is contained in:
Lorenz Brun 2022-01-28 17:01:04 +01:00
parent 7eb3c0f557
commit b7649f9bfc

View file

@ -1,5 +1,6 @@
{ cmake
, fetchFromGitHub
, fetchpatch
, sqlite
, postgresql
, boost
@ -17,6 +18,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-NE0ApbX8HG2VAQ9cg9+kX3kJQ4PR1XvWL9BlT8NphmE=";
};
patches = [
(fetchpatch {
name = "fix-backend-search-path.patch";
url = "https://github.com/SOCI/soci/commit/56c93afc467bdba8ffbe68739eea76059ea62f7a.patch";
sha256 = "sha256-nC/39pn3Cv5e65GgIfF3l64/AbCsfZHPUPIWETZFZAY=";
})
];
# Do not build static libraries
cmakeFlags = [ "-DSOCI_STATIC=OFF" "-DCMAKE_CXX_STANDARD=11" ];