all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GuixSD distro detection during configuration
@ 2021-09-16  7:54 phodina via
  2021-09-16  9:52 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: phodina via @ 2021-09-16  7:54 UTC (permalink / raw)
  To: help-guix

Hi,
what is the best way to detect the GuixSD OS during the build?

I encountered the problem during build of realmd in the configure.ac [1].

Some distros have special file in /etc. So my first idea was to use /etc/config.scm. However, this is not visible during the package build.

Therefore I went with the /gnu/store. This works but I'm interested if there isn't even a better option.
[1] https://github.com/freedesktop/realmd/blob/master/configure.ac

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-16 10:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16  7:54 GuixSD distro detection during configuration phodina via
2021-09-16  9:52 ` Ricardo Wurmus
2021-09-16 10:24   ` phodina

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.