We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 9748e9a commit 01ec484Copy full SHA for 01ec484
pkgs/development/libraries/libvirt/default.nix
@@ -74,6 +74,8 @@ stdenv.mkDerivation rec {
74
substituteInPlace $out/libexec/libvirt-guests.sh \
75
--replace "$out/bin" "${gettext}/bin" \
76
--replace "lock/subsys" "lock"
77
+ sed -e "/gettext\.sh/a \\\n# Added in nixpkgs:\ngettext() { \"${gettext}/bin/gettext\" \"\$@\"; }" \
78
+ -i "$out/libexec/libvirt-guests.sh"
79
'' + optionalString stdenv.isLinux ''
80
rm $out/lib/systemd/system/{virtlockd,virtlogd}.*
81
wrapProgram $out/sbin/libvirtd \
0 commit comments