branch: elpa/nix-mode
commit fea066cec6d57b66c8a9f72581d51ee88dcc270d
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>

    Fix run phase
---
 nix-shell.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/nix-shell.el b/nix-shell.el
index 946bb073c9..7da0290514 100644
--- a/nix-shell.el
+++ b/nix-shell.el
@@ -111,8 +111,7 @@ PHASE phase to run.
 FILE used for base of Nix expresions.
 ATTR from NIX-FILE to get Nix expressions from."
   (shell-command
-   (format "%s '%s' -A '%s' --run '
-if [ -z \"%sPhase\" ]; then eval %sPhase; else eval \"$%sPhase\"; fi' &"
+   (format "%s '%s' -A '%s' --run 'if [ -z \"$%sPhase\" ]; then eval %sPhase; 
else eval \"$%sPhase\"; fi' &"
           nix-shell-executable
           file attr phase phase phase)))
 

Reply via email to