diff options
author | tv <tv@shackspace.de> | 2015-07-07 05:58:43 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-07 05:58:43 +0200 |
commit | 36d7524038b4090dc7f734bfc57cc2508dd8e8b4 (patch) | |
tree | 29efa37947033a738ef30c835112343ad45a63ee /modules/tv/git/cgit.nix | |
parent | 366373e9c6d20501e0756a7e97cced2cb96d447d (diff) |
tv cgit,sanitize: use empty directory from store
This is required for deploying to machines without /var/empty, like the
nixos-install chroot.
Diffstat (limited to 'modules/tv/git/cgit.nix')
-rw-r--r-- | modules/tv/git/cgit.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tv/git/cgit.nix b/modules/tv/git/cgit.nix index ac67ecd1a..a3b72bf8e 100644 --- a/modules/tv/git/cgit.nix +++ b/modules/tv/git/cgit.nix @@ -14,7 +14,7 @@ in name = "fcgiwrap"; uid = 2851179180; # genid fcgiwrap group = "fcgiwrap"; - home = "/var/empty"; + home = toString (pkgs.runCommand "empty" {} "mkdir -p $out"); }; users.extraGroups = lib.singleton { |