From 4ad233e518d25e60d06bb3cb41307f8270f3f18e Mon Sep 17 00:00:00 2001 From: Uli Baum Date: Tue, 21 Aug 2018 22:03:58 +0200 Subject: [PATCH] Revert "libvirt: fix dlopen("libjansson.so.4")" This reverts commit 929a53f2814982247f34fa296f6c1dd0435caf20. Upstream has reverted their move from yajl to jansson after 4.6.0 because of major issues. No point in trying to fix it. Let's revert to libvirt 4.5.0 and wait for the next upstream release. --- pkgs/development/libraries/libvirt/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 4b104a04c15..63f11daad28 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -60,9 +60,7 @@ in stdenv.mkDerivation rec { --replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",' patchShebangs . # fixes /usr/bin/python references - substituteInPlace src/util/virjsoncompat.c --replace \ - '"libjansson.so.4"' '"${jansson}/lib/libjansson${stdenv.targetPlatform.extensions.sharedLibrary}"' - ''; + ''; configureFlags = [ "--localstatedir=/var"