fix(nix): fix impure nix build
This commit is contained in:
parent
19c196087b
commit
cf26e6b075
|
@ -1230,7 +1230,7 @@ If IMPURE is t, then allow impure builds."
|
|||
(with-temp-message (format "Building \"%s\" ..." out)
|
||||
(with-temp-buffer
|
||||
(let* ((args `("build" "--no-link" "--print-out-paths"
|
||||
,@(if impure "--impure") ,out))
|
||||
,@(when impure '("--impure")) ,out))
|
||||
(status (apply #'call-process nix-executable nil
|
||||
(list (current-buffer) nil) nil args)))
|
||||
(when (eql status 0)
|
||||
|
|
Loading…
Reference in a new issue