mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
Merge pull request #157160 from lorenz/soci-backend-path-fix
soci: pull in fix for backend search path
This commit is contained in:
commit
c1522c1116
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user