diff options
author | Florian Klink <flokli@flokli.de> | 2019-05-08 12:03:26 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-05-24 18:33:28 +0000 |
commit | 32c25b4f1d09fcb08b9ef0a409243c3da5db1101 (patch) | |
tree | cb2025569b941e852867d64218d764abec382f42 /pkgs/servers | |
parent | f41618a7c3a568005319a71c2bb2bc4cb49fec97 (diff) | |
download | nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.tar nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.tar.gz nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.tar.bz2 nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.tar.lz nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.tar.xz nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.tar.zst nixlib-32c25b4f1d09fcb08b9ef0a409243c3da5db1101.zip |
shairport-sync: set sysconfdir to /etc/
since 2.8.5, shairport-sync uses the directory path sysconfdir to determine where to place the configuration file shairport-sync.conf. This led to shairport-sync complaining at startup: > configuration file name "/nix/store/i8gb0hsb2zczdl8g1h73pbcb952585l9-shairport-sync-3.2.2/etc/shairport-sync.conf" can not be resolved. Looking for a configuration file there doesn't make much sense, as we'd have to include configuration in the shairport-sync derivation itself. By setting sysconfdir to /etc/, shairport-sync will try to read its configuration from /etc/shairport-sync.conf, which is a more sane default.
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/shairport-sync/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/shairport-sync/default.nix b/pkgs/servers/shairport-sync/default.nix index aaeb810eca0b..27b4a5123462 100644 --- a/pkgs/servers/shairport-sync/default.nix +++ b/pkgs/servers/shairport-sync/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { "--with-alsa" "--with-pipe" "--with-pa" "--with-stdout" "--with-avahi" "--with-ssl=openssl" "--with-soxr" "--without-configfiles" + "--sysconfdir=/etc" ]; meta = with stdenv.lib; { |