emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode fea066cec6 241/500: Fix run phase


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode fea066cec6 241/500: Fix run phase
Date: Sat, 29 Jan 2022 08:27:10 -0500 (EST)

branch: elpa/nix-mode
commit fea066cec6d57b66c8a9f72581d51ee88dcc270d
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]