From d55f1c09c96f0cceaa84217f5dadb57bec7077ef 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 b6c749b..adc8141 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