Merge pull request #157160 from lorenz/soci-backend-path-fix

soci: pull in fix for backend search path
This commit is contained in:
Renaud
2022-01-31 19:06:20 +01:00
committed by GitHub

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" ];