mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
Merge pull request #107572 from flokli/nixos-fix-resolved
nixos/systemd: provide libidn2 for systemd-resolved
This commit is contained in:
commit
be0b453d7c
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
@ -150,6 +150,9 @@ in
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
aliases = [ "dbus-org.freedesktop.resolve1.service" ];
|
aliases = [ "dbus-org.freedesktop.resolve1.service" ];
|
||||||
restartTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
|
restartTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
|
||||||
|
# Upstream bug: https://github.com/systemd/systemd/issues/18078
|
||||||
|
# systemd-resolved without libidn2 is broken
|
||||||
|
environment.LD_LIBRARY_PATH = "${lib.getLib pkgs.libidn2}/lib";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
|
Loading…
Reference in New Issue
Block a user