fix(emacs-pkgs/nix-util): Don't leave sly build out-links around

This commit is contained in:
Vincent Ambo 2020-01-27 02:11:04 +00:00
parent 253a166bbc
commit dba2e5426e

View file

@ -79,7 +79,7 @@
(errbuf (get-buffer-create (format "*depot-errors/%s*" attribute))) (errbuf (get-buffer-create (format "*depot-errors/%s*" attribute)))
(expression (format "let depot = import <depot> {}; in depot.nix.buildLisp.sbclWith [ depot.%s ]" attribute)) (expression (format "let depot = import <depot> {}; in depot.nix.buildLisp.sbclWith [ depot.%s ]" attribute))
;; TODO(tazjin): use <depot> ;; TODO(tazjin): use <depot>
(command (list "nix-build" "-I" (format "depot=%s" nix-depot-path) "-E" expression))) (command (list "nix-build" "--no-out-link" "-I" (format "depot=%s" nix-depot-path) "-E" expression)))
(message "Acquiring Lisp for <depot>.%s" attribute) (message "Acquiring Lisp for <depot>.%s" attribute)
(make-process :name (format "depot-nix-build/%s" attribute) (make-process :name (format "depot-nix-build/%s" attribute)