We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 783f40b commit ea462c7Copy full SHA for ea462c7
1 file changed
nixos/modules/config/resolvconf.nix
@@ -21,7 +21,7 @@ let
21
'' + optionalString config.services.nscd.enable ''
22
# Invalidate the nscd cache whenever resolv.conf is
23
# regenerated.
24
- libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
+ libc_restart='/run/current-system/systemd/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
25
'' + optionalString (length resolvconfOptions > 0) ''
26
# Options as described in resolv.conf(5)
27
resolv_conf_options='${concatStringsSep " " resolvconfOptions}'
0 commit comments