diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-03-08 21:21:05 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-03-08 21:21:05 +0100 |
commit | d8fa1890c705ca566a56b69a4880a10dc7cf0098 (patch) | |
tree | c3f220949e5364d981a4895477249ad46852eea0 /gnu/packages/video.scm | |
parent | 5de561a79634e0814ea22f1cfece9a09efa120be (diff) | |
parent | fee7f8a94ec64943109ba9c37f75c28749fb18bd (diff) | |
download | patches-d8fa1890c705ca566a56b69a4880a10dc7cf0098.tar patches-d8fa1890c705ca566a56b69a4880a10dc7cf0098.tar.gz |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r-- | gnu/packages/video.scm | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7d546d0b92..baedb2a522 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1344,16 +1344,18 @@ audio, images) from the Web. It can use either mpv or vlc for playback.") (guix build utils) (srfi srfi-26)) #:module-build-flags '("--gtk") - #:phases (modify-phases %standard-phases - (add-after 'install 'wrap-program - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin-dir (string-append (assoc-ref outputs "out") - "/bin/")) - (perl-path (getenv "PERL5LIB"))) - (for-each (cut wrap-program <> - `("PERL5LIB" ":" prefix (,perl-path))) - (find-files bin-dir)) - #t)))))) + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin-dir (string-append out "/bin/")) + (site-dir (string-append out "/lib/perl5/site_perl/")) + (lib-path (getenv "PERL5LIB"))) + (for-each (cut wrap-program <> + `("PERL5LIB" ":" prefix (,lib-path ,site-dir))) + (find-files bin-dir)) + #t)))))) (synopsis "Lightweight application for searching and streaming videos from YouTube") (description |