From c5d51f3cde740890d69a02c2fdad0ce06db4c55e Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Tue, 25 Jul 2017 19:41:24 +0200 Subject: [PATCH] lnl: use /nix/var/tmp --- modules/examples/hydra.nix | 4 ++-- modules/examples/lnl.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/examples/hydra.nix b/modules/examples/hydra.nix index 4210b8f3..98368c02 100644 --- a/modules/examples/hydra.nix +++ b/modules/examples/hydra.nix @@ -4,7 +4,7 @@ with lib; let environment = concatStringsSep " " - [ "TMPDIR=/build/tmp" + [ "TMPDIR=/nix/var/tmp" "NIX_REMOTE=daemon" "NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ]; @@ -82,6 +82,6 @@ in chown hydra:hydra ~hydra/.ssh ~hydra/.ssh/authorized_keys echo "ok" - mkdir -m 1777 -p /build/tmp + mkdir -m 1777 -p /nix/var/tmp ''; } diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 23600a22..8398d862 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -22,7 +22,7 @@ system.defaults.trackpad.Clicking = true; services.nix-daemon.enable = true; - services.nix-daemon.tempDir = "/build/tmp"; + services.nix-daemon.tempDir = "/nix/var/tmp"; nix.package = pkgs.nixUnstable;