branch: elpa/nix-mode
commit f24abeb736a028deb283d51a859e7e34aba5e42b
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Don’t prompt with nix-build
---
nix-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-mode.el b/nix-mode.el
index 7635b9c778..1c18eb326c 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -466,7 +466,7 @@ STRING-TYPE type of string based off of Emacs syntax table
types"
"Run nix-build.
ATTR is the attribute to build.
DIR is the directory containing the Nix default.nix expression."
- (interactive "sNix attribute: ")
+ (interactive)
(unless dir (setq dir default-directory))
(if attr
(async-shell-command (format "nix-build %s -A %s" dir attr))