me
/
guix
Archived
1
0
Fork 0

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>
master
wrobell 2023-05-29 23:22:24 +01:00 committed by Nicolas Goaziou
parent 6789c4f3cb
commit d8c89606fc
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 3 additions and 1 deletions

View File

@ -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"))