GNU bug report logs -
#29301
[PATCH] substitute* hard-coded paths with paths from "out"
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 17 Jan 2022 14:18:27 +0100
with message-id <87fspmpkkc.fsf <at> gnu.org>
and subject line Re: bug#29301: [PATCH] substitute* hard-coded paths with paths from "out"
has caused the debbugs.gnu.org bug report #29301,
regarding [PATCH] substitute* hard-coded paths with paths from "out"
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
29301: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29301
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/guile.scm
used substitute* to correct some hardcoded paths in the artanis package
---
gnu/packages/guile.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index abcefd32e..b7c2dd4c7 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe <at> gmail.com>
;;; Copyright © 2017 Theodoros Foradis <theodoros <at> foradis.org>
;;; Copyright © 2017 ng0 <ng0 <at> infotropique.org>
+;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -431,7 +432,8 @@ program can be installed in one go.")
post)))
(substitute* "artanis/artanis.scm"
(("[[:punct:][:space:]]+->json-string[[:punct:][:space:]]+")
- ""))))))
+ ""))
+ ))))
(build-system gnu-build-system)
;; TODO: Add guile-dbi and guile-dbd optional dependencies.
(inputs `(("guile" ,guile-2.2)
@@ -458,6 +460,14 @@ program can be installed in one go.")
((" /etc/bash.bashrc") " /dev/null"))
(substitute* "Makefile" ;set the root of config files to OUT
((" /etc") (string-append " " out "/etc")))
+ (substitute* "artanis/config.scm"
+ (("/etc/artanis/artanis.conf")
+ (string-append out "/etc/artanis.conf"))
+ (("/etc/artanis/pages")
+ (string-append out "/etc/artanis")))
+ (substitute* "etc/artanis/artanis.conf"
+ (("/etc/artanis/pages")
+ (string-append out "/etc/artanis")))
(mkdir-p (string-append out "/bin")) ;for the `art' executable
#t)))
(add-after 'install 'wrap-art
--
2.15.0
Message-ID: <877euscq0y.fsf <at> gmail.com>
[Message part 3 (message/rfc822, inline)]
Hi,
zimoun <zimon.toutoune <at> gmail.com> skribis:
> The patch #29301 [1] had been submitted on 2017 and…
>
> On Tue, 06 Feb 2018 at 16:13, ludo <at> gnu.org (Ludovic Courtès) wrote:
>
>> Any update on this? :-)
>
> …this last message is from 2018. I am proposing to close.
>
>
> 1: <http://issues.guix.gnu.org/issue/29301>
Agreed, and done (it may not even apply to current Artanis).
Thanks,
Ludo’.
This bug report was last modified 3 years and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.