aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-23 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-23 02:00:00 +0200
commit2938a2013f8eb801c66120ec339f54deae085cc7 (patch)
tree7aa6caa991dfe3b6a3ecc9d61610d2d6034b96dc /gnu
parentc556332b742afa7b9323756cd328dbfcd33c1b58 (diff)
downloadguix-2938a2013f8eb801c66120ec339f54deae085cc7.tar.gz
guix-2938a2013f8eb801c66120ec339f54deae085cc7.zip
gnu: perl-db-file: Use G-expressions.
* gnu/packages/databases.scm (perl-db-file)[arguments]: Rewrite as G-expressions, using THIS-PACKAGE-INPUT.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index efb00e40c6..5ce3c1d8c8 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2786,15 +2786,17 @@ database.")
(sha256
(base32 "1xm7s2ag15498kp7g8r20gxk22ncz3b3hz4b3srqf7ypif3a5dyf"))))
(build-system perl-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'modify-config.in
+ (lambda _
+ (substitute* "config.in"
+ (("/usr/local/BerkeleyDB")
+ #$(this-package-input "bdb"))))))))
(inputs (list bdb))
(native-inputs (list perl-test-pod))
- (arguments
- `(#:phases (modify-phases %standard-phases
- (add-before
- 'configure 'modify-config.in
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "config.in"
- (("/usr/local/BerkeleyDB") (assoc-ref inputs "bdb"))))))))
(home-page "https://metacpan.org/release/DB_File")
(synopsis "Perl5 access to Berkeley DB version 1.x")
(description