diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2017-01-05 19:58:26 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-01-07 02:44:54 +0100 |
commit | e6708cea37b86b59cc5b35e434b4711bdbbe5064 (patch) | |
tree | 4b3daea5b89f992312b7f43c397b779f4be4ead1 /nixos/modules/services | |
parent | 56cceca9993f9f3d69dede4eb2083e9be289d257 (diff) | |
download | nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.tar nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.tar.gz nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.tar.bz2 nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.tar.lz nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.tar.xz nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.tar.zst nixlib-e6708cea37b86b59cc5b35e434b4711bdbbe5064.zip |
bind: fix collision of binaries in outputs
Using outputsToInstall the intended behaviour of including host and dnsutils when bind is installed can be implemented instead of using symlinks to fix installing all outputs individually with nix-env. Fixes #19761.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/networking/bind.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix index 72110e625766..0272b6ceff20 100644 --- a/nixos/modules/services/networking/bind.nix +++ b/nixos/modules/services/networking/bind.nix @@ -155,7 +155,7 @@ in chown ${bindUser} /var/run/named ''; - script = "${pkgs.bind.bin}/sbin/named -u ${bindUser} ${optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile} -f"; + script = "${pkgs.bind.out}/sbin/named -u ${bindUser} ${optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile} -f"; unitConfig.Documentation = "man:named(8)"; }; }; |