summary refs log tree commit diff
path: root/pkgs/tools/networking/chrony/default.nix
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom@yandex.ru>2013-12-04 06:11:41 +0200
committerEvgeny Egorochkin <phreedom@yandex.ru>2013-12-04 06:11:41 +0200
commit41333e134429f2833631c22e9e03f98c71bb0fa9 (patch)
treebadf7d2471a14309485c5c9991609ae53c83f9d6 /pkgs/tools/networking/chrony/default.nix
parent1db5dd4ffb073ba3a38bb34318fd6f809f1a72d3 (diff)
downloadnixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.tar
nixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.tar.gz
nixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.tar.bz2
nixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.tar.lz
nixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.tar.xz
nixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.tar.zst
nixlib-41333e134429f2833631c22e9e03f98c71bb0fa9.zip
chrony; fix installation
Diffstat (limited to 'pkgs/tools/networking/chrony/default.nix')
-rw-r--r--pkgs/tools/networking/chrony/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/chrony/default.nix b/pkgs/tools/networking/chrony/default.nix
index 41552b854182..41eb1a8f77af 100644
--- a/pkgs/tools/networking/chrony/default.nix
+++ b/pkgs/tools/networking/chrony/default.nix
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
   
   buildInputs = [ readline ] ++ stdenv.lib.optional stdenv.isLinux libcap;
 
+  configureFlags = [ "--sysconfdir=\$(out)/etc" "--chronyvardir=\$(out)/var/lib/chrony" ];
+
   meta = with stdenv.lib; {
     description = "Sets your computer's clock from time servers on the Net";
     homepage = "http://chrony.tuxfamily.org/";