diff options
author | Félix Baylac-Jacqué <felix@alternativebit.fr> | 2020-06-25 22:38:40 +0200 |
---|---|---|
committer | Félix Baylac-Jacqué <felix@alternativebit.fr> | 2020-06-26 20:18:33 +0200 |
commit | 7020dc8eac0e709bd69779898106789ec96b4b42 (patch) | |
tree | bf495e9b00db075b70760ecdfcc0b9cc1d8bc404 /pkgs/servers/dns | |
parent | 15c8a4800e0b0d34f378806df01abf3d0f41de80 (diff) | |
download | nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.tar nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.tar.gz nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.tar.bz2 nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.tar.lz nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.tar.xz nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.tar.zst nixpkgs-7020dc8eac0e709bd69779898106789ec96b4b42.zip |
nixos/nsd: symlink conf file to /etc/nsd
We remove the configFile build flag override in the NixOS module. Instead of embedding the conf file link to the binaries, we symlink it to /etc/nsd/nsd.nix, the hardcoded config file location for the various CLI nsd utilities. This config file build option override is triggerring a nsd rebuild for each configuration change. This prevent us to use the nixos cache in many cases. Co-authored-by: Erjo <erjo@cocoba.work>
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/nsd/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/dns/nsd/default.nix b/pkgs/servers/dns/nsd/default.nix index 67258f176be..8d4125b8fa1 100644 --- a/pkgs/servers/dns/nsd/default.nix +++ b/pkgs/servers/dns/nsd/default.nix @@ -11,7 +11,7 @@ , rrtypes ? false , zoneStats ? false -, configFile ? "etc/nsd/nsd.conf" +, configFile ? "/etc/nsd/nsd.conf" }: stdenv.mkDerivation rec { |