about summary refs log tree commit diff
path: root/pkgs/tools/networking/unbound
diff options
context:
space:
mode:
authorLászló Vaskó <laszlo.vasko@outlook.com>2021-08-05 21:15:02 +0200
committerLászló Vaskó <laszlo.vasko@outlook.com>2021-08-05 21:15:02 +0200
commit92b4e8324556fef6350fa29daa64cdde6b9121ef (patch)
tree0435854bbfc5212459b3bb40924e17ac2e1c8d78 /pkgs/tools/networking/unbound
parent9207d0909e6ff00912081c1571437f715d7ed41e (diff)
pythonPackages.pyunbound: fix build
`_unbound.so` references `libunbound.so.8` in its RPATH
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r--pkgs/tools/networking/unbound/python.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/networking/unbound/python.nix b/pkgs/tools/networking/unbound/python.nix
index fcfd93be4d677..77c1e02c045cb 100644
--- a/pkgs/tools/networking/unbound/python.nix
+++ b/pkgs/tools/networking/unbound/python.nix
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
     $out/bin/unbound-anchor -l | tail --lines=+2 - > $out/etc/${pname}/root.key
     # We don't need anything else
     rm -fR $out/bin $out/share $out/include $out/etc/unbound
-    patchelf --replace-needed libunbound.so.2 $out/${python.sitePackages}/libunbound.so.2 $out/${python.sitePackages}/_unbound.so
+    patchelf --replace-needed libunbound.so.8 $out/${python.sitePackages}/libunbound.so.8 $out/${python.sitePackages}/_unbound.so
     '';
 
   meta = with lib; {
@@ -60,6 +60,5 @@ in stdenv.mkDerivation rec {
     homepage = "http://www.unbound.net";
     maintainers = with maintainers; [ leenaars ];
     platforms = lib.platforms.unix;
-    broken = true;
   };
 }