Subject: Re: [bug#37365] [PATCH] - Amendment: Enable tests

From: Efraim Flashner <[email-masked]>
Date: Wed, 11 Sep 2019 10:37:19 +0300

These should be two patches, the first one to add the ruby package and
the second to add the zsh package.

> +         (replace 'install
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out"))
> +                    (install-path (string-append out "/share/zsh/plugins/zsh-autosuggestions")))
> +               (mkdir-p install-path)
> +               (invoke "make" "all")
> +               (copy-file "zsh-autosuggestions.zsh" (string-append install-path "/zsh-autosuggestions.zsh"))
> +               #t))))))

I don't use zsh so I'm asking without knowing anything about the
directory structure, is %out/share/zsh/plugins/zsh-autosuggestions the
correct folder? The only folder I currently have after zsh is
site-functions.

(ins)efraim@E5400 ~$ tree .guix-profile/share/zsh/
.guix-profile/share/zsh/
 site-functions
     _mpv -> /gnu/store/acrlmdnmrkivbdrry756pf9grsx2x814-mpv-0.29.1/share/zsh/site-functions/_mpv
     _vifm -> /gnu/store/1l9b676paigfc3fx9r8h6h2k5d33wrhk-vifm-0.10.1/share/zsh/site-functions/_vifm
     _wgetpaste -> /gnu/store/k5g3fa3i59yxy3n9vf8lm1nfbz5whq2i-wgetpaste-2.29/share/zsh/site-functions/_wgetpaste

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted