[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29301] [PATCH] substitute* hard-coded paths with paths from "out"
From: |
Ludovic Courtès |
Subject: |
[bug#29301] [PATCH] substitute* hard-coded paths with paths from "out" |
Date: |
Thu, 23 Nov 2017 22:59:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi Kristofer,
Kristofer Buffington <address@hidden> 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’.