branch: elpa/nix-mode
commit 478de28a4ec8f2903a15e1f62c019c453fa0b1f7
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Make nix-build use async-shell-command
---
nix-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nix-mode.el b/nix-mode.el
index 2e9df4db20..177cf20532 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -473,8 +473,8 @@ DIR is the directory containing the Nix default.nix
expression."
(interactive "sNix attribute: ")
(unless dir (setq dir default-directory))
(if attr
- (shell-command (format "nix-build %s -A %s" dir attr))
- (shell-command (format "nix-build %s" dir))))
+ (async-shell-command (format "nix-build %s -A %s" dir attr))
+ (async-shell-command (format "nix-build %s" dir))))
;;;###autoload
(define-derived-mode nix-mode prog-mode "Nix"