From 36d7524038b4090dc7f734bfc57cc2508dd8e8b4 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Jul 2015 05:58:43 +0200 Subject: tv cgit,sanitize: use empty directory from store This is required for deploying to machines without /var/empty, like the nixos-install chroot. --- modules/tv/sanitize.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tv/sanitize.nix') 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"; }; } -- cgit v1.2.3