Skip to content

Commit

Permalink
Merge pull request #107572 from flokli/nixos-fix-resolved
Browse files Browse the repository at this point in the history
nixos/systemd: provide libidn2 for systemd-resolved
  • Loading branch information
flokli authored Dec 25, 2020
2 parents d4f19a2 + c674a51 commit be0b453
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/modules/system/boot/resolved.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, pkgs, lib, ... }:

with lib;
let
Expand Down Expand Up @@ -150,6 +150,9 @@ in
wantedBy = [ "multi-user.target" ];
aliases = [ "dbus-org.freedesktop.resolve1.service" ];
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 = {
Expand Down

0 comments on commit be0b453

Please sign in to comment.