diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-02-04 10:19:58 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-02-04 10:19:58 +0100 |
commit | ad1bdf4e77f65d659e2f0427d958ef1b8727c705 (patch) | |
tree | 298b46a4ddf96b0c60a5179654aae54f96932f9c /pkgs/development/libraries/openbabel | |
parent | ae7d9a3fe7a11918c29f3b7b94f89300170bd6e7 (diff) |
v8, openbabel: fixup build with gcc12
Diffstat (limited to 'pkgs/development/libraries/openbabel')
-rw-r--r-- | pkgs/development/libraries/openbabel/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openbabel/default.nix b/pkgs/development/libraries/openbabel/default.nix index a23382d3f892b..fe12bbffa531d 100644 --- a/pkgs/development/libraries/openbabel/default.nix +++ b/pkgs/development/libraries/openbabel/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { sha256 = "sha256-wQpgdfCyBAoh4pmj9j7wPTlMtraJ62w/EShxi/olVMY="; }; + postPatch = '' + sed '1i#include <ctime>' -i include/openbabel/obutil.h # gcc12 + ''; + buildInputs = [ zlib libxml2 eigen python cairo pcre swig rapidjson ]; nativeBuildInputs = [ cmake pkg-config ]; |