summary refs log tree commit diff
diff options
context:
space:
mode:
authorWanja Zaeske <wanja.zaeske@dlr.de>2023-01-02 20:08:04 +0100
committerwucke13 <wucke13@gmail.com>2023-01-15 22:20:36 +0100
commit300f427c59c7699aa6e8ae238cbee93112d2df71 (patch)
tree8e25134d05147267b359c153fbb2c05de87eb013
parentcd80df9e8a68baeac061d1e4ca51aa628ca9cc1c (diff)
downloadnixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.tar
nixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.tar.gz
nixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.tar.bz2
nixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.tar.lz
nixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.tar.xz
nixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.tar.zst
nixpkgs-300f427c59c7699aa6e8ae238cbee93112d2df71.zip
tdb: 1.4.6 -> 1.4.7
-rw-r--r--pkgs/development/libraries/tdb/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/libraries/tdb/default.nix b/pkgs/development/libraries/tdb/default.nix
index 9a534c4c146..774168847b9 100644
--- a/pkgs/development/libraries/tdb/default.nix
+++ b/pkgs/development/libraries/tdb/default.nix
@@ -12,11 +12,11 @@
 
 stdenv.mkDerivation rec {
   pname = "tdb";
-  version = "1.4.6";
+  version = "1.4.7";
 
   src = fetchurl {
     url = "mirror://samba/tdb/${pname}-${version}.tar.gz";
-    sha256 = "sha256-1okr2L7+BKd2QqHdVuSoeTSb8c9bLAv1+4QQYZON7ws=";
+    sha256 = "sha256-pPsWje9TPzH/LAf32YRLsxMeZ5nwlOvnfQOArcmHwg4=";
   };
 
   nativeBuildInputs = [
@@ -34,6 +34,13 @@ stdenv.mkDerivation rec {
     libxcrypt
   ];
 
+  # otherwise the configure script fails with
+  # PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!
+  preConfigure = ''
+    export PKGCONFIG="$PKG_CONFIG"
+    export PYTHONHASHSEED=1
+  '';
+
   wafPath = "buildtools/bin/waf";
 
   wafConfigureFlags = [