File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -1075,23 +1075,21 @@ now."
1075
1075
" -s"
1076
1076
dir)))
1077
1077
('nix-shell-ghci
1078
- (haskell-process-log
1079
- (propertize
1080
- (format " Starting inferior nix-shell (ghci) process using %s %s %s %s ... "
1081
- haskell-process-path-nix-shell
1082
- haskell-process-args-nix-shell
1083
- " --command"
1084
- haskell-process-path-ghci)
1085
- 'face font-lock-comment-face ))
1086
- (apply #'start-process
1087
- (append (list (haskell-session-name session)
1088
- nil
1089
- haskell-process-path-nix-shell)
1090
- haskell-process-args-nix-shell
1091
- '(" --command" )
1092
- (list haskell-process-path-ghci)
1093
- (let ((target (haskell-session-target session)))
1094
- (if target (list target) nil ))))))))
1078
+ (let ((args (append (list haskell-process-path-nix-shell)
1079
+ haskell-process-args-nix-shell
1080
+ '(" --command" )
1081
+ (list haskell-process-path-ghci)
1082
+ (let ((target (haskell-session-target session)))
1083
+ (if target (list target) nil )))))
1084
+ (haskell-process-log
1085
+ (propertize
1086
+ (format " Starting inferior nix-shell (ghci) process using %s ... "
1087
+ (mapconcat 'identity args " " ))
1088
+ 'face font-lock-comment-face ))
1089
+ (apply #'start-process
1090
+ (append (list (haskell-session-name session)
1091
+ nil )
1092
+ args)))))))
1095
1093
(progn (set-process-sentinel (haskell-process-process process) 'haskell-process-sentinel )
1096
1094
(set-process-filter (haskell-process-process process) 'haskell-process-filter ))
1097
1095
(haskell-process-send-startup process)
You can’t perform that action at this time.
0 commit comments