[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/18: gnu: nanopolish: Set #:guile argument of 'wrap-script'.
From: |
guix-commits |
Subject: |
12/18: gnu: nanopolish: Set #:guile argument of 'wrap-script'. |
Date: |
Fri, 4 Jun 2021 17:29:24 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit b2459387b9af3acff543854d8f45df7376140a91
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Mon May 31 19:54:49 2021 +0200
gnu: nanopolish: Set #:guile argument of 'wrap-script'.
* gnu/packages/bioinformatics.scm
(nanopolish)[arguments]<#:phases>{wrap-programs}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/bioinformatics.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 965e26b..fc2fc86 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -13583,16 +13583,18 @@ choosing which reads pass the filter.")
(find-files "scripts" ".*"))
#t)))
(add-after 'install 'wrap-programs
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((pythonpath (getenv "GUIX_PYTHONPATH"))
(perl5lib (getenv "PERL5LIB"))
(scripts (string-append (assoc-ref outputs "out")
- "/share/nanopolish/scripts")))
+ "/share/nanopolish/scripts"))
+ (guile (search-input-file inputs "bin/guile")))
(for-each (lambda (file)
(wrap-program file `("GUIX_PYTHONPATH" ":" prefix
(,pythonpath))))
(find-files scripts "\\.py"))
(for-each (lambda (file)
- (wrap-script file `("PERL5LIB" ":" prefix
(,perl5lib))))
+ (wrap-script file #:guile guile
+ `("PERL5LIB" ":" prefix
(,perl5lib))))
(find-files scripts "\\.pl"))))))))
(inputs
`(("guile" ,guile-3.0) ; for wrappers
- 02/18: utils: Define ‘search-input-file’ procedure., (continued)
- 02/18: utils: Define ‘search-input-file’ procedure., guix-commits, 2021/06/04
- 03/18: glib-or-gtk-build-system: Look up the interpreter in 'inputs'., guix-commits, 2021/06/04
- 05/18: qt-build-system: Look up the interpreter in 'inputs'., guix-commits, 2021/06/04
- 11/18: gnu: gess: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 08/18: gnu: bats: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 10/18: gnu: prinseq: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 06/18: rakudo-build-system: Look up the interpreter in 'inputs'., guix-commits, 2021/06/04
- 04/18: python-build-system: Look up the interpreter in 'inputs'., guix-commits, 2021/06/04
- 07/18: gnu: carla: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 09/18: gnu: proteinortho: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 12/18: gnu: nanopolish: Set #:guile argument of 'wrap-script'.,
guix-commits <=
- 13/18: gnu: sieve-connect: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 15/18: gnu: vpnc-scripts: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04
- 16/18: gnu: openconnect-sso: Set #:sh argument of 'wrap-program'., guix-commits, 2021/06/04
- 17/18: gnu: protonvpn-cli: Set #:sh argument of 'wrap-program'., guix-commits, 2021/06/04
- 18/18: gnu: wireguard-tools: Set #:sh argument of 'wrap-program'., guix-commits, 2021/06/04
- 14/18: gnu: clipmenu: Set #:guile argument of 'wrap-script'., guix-commits, 2021/06/04