aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrobell <wrobell@riseup.net>2023-05-29 23:22:24 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-01 11:04:18 +0200
commitd8c89606fcf743efa3fe6e752d886f5a36b6a4a8 (patch)
tree8bb51b4eb4e8d2c6e49569e25e9cfc049651a371
parent6789c4f3cb5f6f6c84290c9973e815c6f3158c31 (diff)
downloadguix-d8c89606fcf743efa3fe6e752d886f5a36b6a4a8.tar.gz
guix-d8c89606fcf743efa3fe6e752d886f5a36b6a4a8.zip
gnu: erlang: Fix Erlang package substitutions.
* gnu/packages/erlang.scm (erlang)[arguments]<#:phases>: Both `dirname` and `basename` need to be substituted. There is no need for `sed` substitution in Erlag 25.3. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/erlang.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index ccf1caca60..a7f161647b 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2021 Oskar Köök <oskar@maatriks.ee>
;;; Copyright © 2021 Cees de Groot <cg@evrl.com>
;;; Copyright © 2022 jgart <jgart@dismail.de>
+;;; Copyright © 2023 wrobell <wrobell@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -168,7 +169,8 @@
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* (string-append out "/bin/erl")
- (("sed") (which "sed"))))))
+ (("basename") (which "basename"))
+ (("dirname") (which "dirname"))))))
(add-after 'install 'install-doc
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))