diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-03 13:40:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 13:40:12 +0200 |
commit | d64412c5b3bdf94bfe4d84ff80249bc803a793c7 (patch) | |
tree | 0fdd64cc6c26fbb2440ff44602aadf176c0d95b6 | |
parent | 264f5eb58cadb4592f588f1d7a77c060a0769297 (diff) | |
parent | 0eed0f1309446e65bdedb3495a16befe06b926ba (diff) |
Merge pull request #300580 from danrabinowitz/fix-macos-build
libvirt: Use valid runstatedir for Darwin
-rw-r--r-- | pkgs/development/libraries/libvirt/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 72d94ee32989c..f82c5d18fb9d6 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -271,7 +271,7 @@ stdenv.mkDerivation rec { "--sysconfdir=/var/lib" (cfg "install_prefix" (placeholder "out")) (cfg "localstatedir" "/var") - (cfg "runstatedir" "/run") + (cfg "runstatedir" (if isDarwin then "/var/run" else "/run")) (cfg "init_script" (if isDarwin then "none" else "systemd")) (cfg "qemu_datadir" (lib.optionalString isDarwin "${qemu}/share/qemu")) |