diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 2a9661b19c8b..c891b7e4bb50 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -23,9 +23,9 @@ stdenv.mkDerivation { PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:$PATH ''; - configureFlags = "--localstatedir=/var --with-init-script=redhat"; + configureFlags = "--localstatedir=/var --sysconfdir=/etc --with-init-script=redhat"; - installFlags = "localstatedir=$(TMPDIR)/var"; + installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc"; postInstall = ''