nixpkgs/pkgs
Christian Kauhaus ea7e705cd9 varnish: fix localstatedir for varnish* tools (#17508)
The varnish tools (varnishstat, varnishlog, ...) tried to load the VSM
file from a spurious var directory in the Nix store. Fix the default so
the tools "just work" when also keeping services.varnish.stateDir at the
default.

Notes:
- The tools use $localstatedir/$HOSTNAME so I've adapted the default for
  stateDir as well to contain hostName.
- Added postStop action to remove the localstatedir. There is no point
  in keeping it around when varnish does not run, as it regenerates it
  on startup anyway.

Fixes #7495
2016-08-04 15:25:23 +02:00
..
applications Update spotify 2016-08-04 09:12:43 +00:00
build-support treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
data gentium: 1.504 -> 5.000 2016-08-03 09:22:32 +02:00
desktops treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
development hackage-packages.nix: update Haskell package set 2016-08-04 15:20:31 +02:00
games treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
misc flat-plat: init at eba3be5 2016-08-03 11:28:54 +02:00
os-specific Merge pull request #17447 from FRidh/nvidia 2016-08-03 08:36:24 +02:00
servers varnish: fix localstatedir for varnish* tools (#17508) 2016-08-04 15:25:23 +02:00
shells Re-enable bunch of packages on Darwin 2016-08-03 00:55:42 +03:00
stdenv stdenv: ARM bootstrap: Update bootstrap tarballs to hydra-built ones 2016-07-20 18:51:09 +03:00
test Remove cruft 2016-04-26 17:31:54 +02:00
tools Merge pull request #17471 from DamienCassou/offlineimap-7.0.4 2016-08-04 08:33:05 +02:00
top-level ripser: init at 1.0 (#17481) 2016-08-04 10:21:48 +02:00