all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Kristofer Buffington <kristoferbuffington@gmail.com>
Cc: 29301@debbugs.gnu.org
Subject: [bug#29301] [PATCH] substitute* hard-coded paths with paths from "out"
Date: Thu, 23 Nov 2017 22:59:26 +0100	[thread overview]
Message-ID: <87shd4odvl.fsf@gnu.org> (raw)
In-Reply-To: <8760accpzl.fsf@gmail.com> (Kristofer Buffington's message of "Tue, 14 Nov 2017 19:41:36 -0500")

Hi Kristofer,

Kristofer Buffington <kristoferbuffington@gmail.com> skribis:

> * gnu/packages/guile.scm
> used substitute* to correct some hardcoded paths in the artanis package

[...]

> +                 (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")))

Shouldn’t we instead configure it with --sysconfdir=/etc?  That would
allow users to provide custom configuration files, whereas currently
OUTPUT/etc/artanis contains immutable configuration files.

WDYT?

Thanks,
Ludo’.

  reply	other threads:[~2017-11-23 22:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15  0:41 [bug#29301] [PATCH] substitute* hard-coded paths with paths from "out" Kristofer Buffington
2017-11-23 21:59 ` Ludovic Courtès [this message]
     [not found]   ` <CAN1Dt4RZ3Mv5HBarSCPqoVRrXqa7bojZ-SRyEOrr2CqaaTu8cA@mail.gmail.com>
2017-11-27  1:31     ` [bug#29301] Fwd: " Kristofer Buffington
2017-11-27  8:51     ` Ludovic Courtès
2017-11-28 21:10       ` Kristofer Buffington
2018-02-06 15:13         ` Ludovic Courtès
     [not found]           ` <CAN1Dt4QCrNX3HT6w-zn5AkXTKMJ_WZYxmmHgfzKVBb4jkhSUcQ@mail.gmail.com>
2018-02-09 14:15             ` Kristofer Buffington
2022-01-13 15:56           ` zimoun
2022-01-17 13:18             ` bug#29301: " Ludovic Courtès
2019-09-27 13:07 ` [bug#29301] " Tobias Geerinckx-Rice via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shd4odvl.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29301@debbugs.gnu.org \
    --cc=kristoferbuffington@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.