tv cgit,sanitize: use empty directory from store
This is required for deploying to machines without /var/empty, like the nixos-install chroot.
This commit is contained in:
parent
366373e9c6
commit
36d7524038
@ -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 {
|
||||
|
@ -3,6 +3,6 @@
|
||||
{
|
||||
nixpkgs.config.packageOverrides = pkgs:
|
||||
{
|
||||
nano = /var/empty;
|
||||
nano = pkgs.runCommand "empty" {} "mkdir -p $out";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user