3
0
Fork 0
forked from mirrors/nixpkgs

Revert "libvirt: fix dlopen("libjansson.so.4")"

This reverts commit d46cfd2ff0, which
broke libvirt + some dependent packages (notably nixops) on Darwin
This commit is contained in:
Jude Taylor 2018-08-15 12:07:03 -07:00
parent 0a17d08a97
commit 59027e2880

View file

@ -59,10 +59,6 @@ in stdenv.mkDerivation rec {
substituteInPlace src/lxc/lxc_conf.c \
--replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",'
[ -f ${jansson}/lib/libjansson.so.4 ] || exit 1
substituteInPlace src/util/virjsoncompat.c \
--replace '"libjansson.so.4"' '"${jansson}/lib/libjansson.so.4"'
patchShebangs . # fixes /usr/bin/python references
'';