summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/services/nix.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/nix.scm b/gnu/services/nix.scm
index dcf994b603..82853253f6 100644
--- a/gnu/services/nix.scm
+++ b/gnu/services/nix.scm
@@ -142,8 +142,8 @@ GID."
                  (list (string-append #$package "/bin/nix-daemon")
                        #$@extra-options)
                  #:environment-variables
-                   (list (string-append "TMPDIR=" build-directory)
-                         "PATH=/run/current-system/profile/bin")))
+                 (list (string-append "TMPDIR=" #$build-directory)
+                       "PATH=/run/current-system/profile/bin")))
        (respawn? #f)
        (stop #~(make-kill-destructor)))))))