mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
libvirt: fix dlopen("libjansson.so.4")
This commit is contained in:
parent
df05344d96
commit
d46cfd2ff0
@ -59,6 +59,10 @@ 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 New Issue
Block a user