summaryrefslogtreecommitdiff
path: root/gnu/packages/shellutils.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-28 08:46:49 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-10 08:26:00 +0100
commit7ee445d5a132ced3ef7a2fc7498ac5561d6380c5 (patch)
treef3a0f3c8c6f9bf79901a65818d420264acfe8669 /gnu/packages/shellutils.scm
parentaf583ce504e089d7a64172b573e38c78ae563d23 (diff)
gnu: zsh-autosuggestions: Remove ruby-byebug dependency.
ruby-byebug is for Ruby 2, so it's good to move away from using it. * gnu/packages/shellutils.scm (zsh-autosuggestions)[native-inputs]: Remove ruby-byebug. [arguments]: Update style.
Diffstat (limited to 'gnu/packages/shellutils.scm')
-rw-r--r--gnu/packages/shellutils.scm39
1 files changed, 19 insertions, 20 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 070613afe14..cbeaa05b3dc 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -188,33 +188,32 @@ in Zsh intelligently.")
188 (build-system gnu-build-system) 188 (build-system gnu-build-system)
189 (native-inputs 189 (native-inputs
190 (list ruby 190 (list ruby
191 ruby-byebug
192 ruby-pry 191 ruby-pry
193 ruby-rspec 192 ruby-rspec
194 ruby-rspec-wait 193 ruby-rspec-wait
195 tmux 194 tmux
196 zsh)) 195 zsh))
197 (arguments 196 (arguments
198 '(#:phases 197 (list
199 (modify-phases %standard-phases 198 #:phases
200 (add-after 'unpack 'patch-tests 199 #~(modify-phases %standard-phases
201 (lambda _ 200 (add-after 'unpack 'patch-tests
202 ;; Failing tests since tmux-3.2a 201 (lambda _
203 (delete-file "spec/options/buffer_max_size_spec.rb"))) 202 ;; Failing tests since tmux-3.2a
204 (delete 'configure) 203 (delete-file "spec/options/buffer_max_size_spec.rb")))
205 (replace 'check ; Tests use ruby's bundler; instead execute rspec directly. 204 (delete 'configure)
206 (lambda _ 205 (replace 'check ; Tests use ruby's bundler; instead execute rspec directly.
207 (setenv "TMUX_TMPDIR" (getenv "TMPDIR")) 206 (lambda _
208 (setenv "SHELL" (which "zsh")) 207 (setenv "TMUX_TMPDIR" (getenv "TMPDIR"))
209 (invoke "rspec"))) 208 (setenv "SHELL" (which "zsh"))
210 (replace 'install 209 (invoke "rspec")))
211 (lambda* (#:key outputs #:allow-other-keys) 210 (replace 'install
212 (let* ((out (assoc-ref outputs "out")) 211 (lambda* (#:key outputs #:allow-other-keys)
213 (zsh-plugins 212 (let* ((out (assoc-ref outputs "out"))
213 (zsh-plugins
214 (string-append out "/share/zsh/plugins/zsh-autosuggestions"))) 214 (string-append out "/share/zsh/plugins/zsh-autosuggestions")))
215 (invoke "make" "all") 215 (invoke "make" "all")
216 (install-file "zsh-autosuggestions.zsh" zsh-plugins) 216 (install-file "zsh-autosuggestions.zsh" zsh-plugins)))))))
217 #t))))))
218 (home-page "https://github.com/zsh-users/zsh-autosuggestions") 217 (home-page "https://github.com/zsh-users/zsh-autosuggestions")
219 (synopsis "Fish-like autosuggestions for zsh") 218 (synopsis "Fish-like autosuggestions for zsh")
220 (description 219 (description