summaryrefslogtreecommitdiffstats
path: root/modules/tv/sanitize.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-07 05:58:43 +0200
committertv <tv@shackspace.de>2015-07-07 05:58:43 +0200
commit36d7524038b4090dc7f734bfc57cc2508dd8e8b4 (patch)
tree29efa37947033a738ef30c835112343ad45a63ee /modules/tv/sanitize.nix
parent366373e9c6d20501e0756a7e97cced2cb96d447d (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/sanitize.nix')
-rw-r--r--modules/tv/sanitize.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tv/sanitize.nix b/modules/tv/sanitize.nix
index b6c749b6d..adc8141da 100644
--- a/modules/tv/sanitize.nix
+++ b/modules/tv/sanitize.nix
@@ -3,6 +3,6 @@
{
nixpkgs.config.packageOverrides = pkgs:
{
- nano = /var/empty;
+ nano = pkgs.runCommand "empty" {} "mkdir -p $out";
};
}