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:
parent
0a17d08a97
commit
59027e2880
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue