mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
Merge pull request #45324 from teto/libvirt_fix2
libvirt: darwin/linux fix dlopen("libjansson.so.4")
This commit is contained in:
commit
98579944cd
|
@ -60,7 +60,9 @@ 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"
|
||||
|
|
Loading…
Reference in a new issue