libvirt: disable util-linux on darwin
This commit is contained in:
parent
a96075f5ee
commit
b4e891e9a4
|
@ -141,11 +141,13 @@ stdenv.mkDerivation rec {
|
||||||
# delete only the first occurrence of this
|
# delete only the first occurrence of this
|
||||||
sed -i '0,/qemuxml2argvtest/{/qemuxml2argvtest/d;}' tests/meson.build
|
sed -i '0,/qemuxml2argvtest/{/qemuxml2argvtest/d;}' tests/meson.build
|
||||||
|
|
||||||
|
'' + lib.optionalString isLinux ''
|
||||||
for binary in mount umount mkfs; do
|
for binary in mount umount mkfs; do
|
||||||
substituteInPlace meson.build \
|
substituteInPlace meson.build \
|
||||||
--replace "find_program('$binary'" "find_program('${lib.getBin util-linux}/bin/$binary'"
|
--replace "find_program('$binary'" "find_program('${lib.getBin util-linux}/bin/$binary'"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
'' + ''
|
||||||
substituteInPlace meson.build \
|
substituteInPlace meson.build \
|
||||||
--replace "'dbus-daemon'," "'${lib.getBin dbus}/bin/dbus-daemon',"
|
--replace "'dbus-daemon'," "'${lib.getBin dbus}/bin/dbus-daemon',"
|
||||||
'' + lib.optionalString isLinux ''
|
'' + lib.optionalString isLinux ''
|
||||||
|
|
Loading…
Reference in a new issue