all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: New reconfigure, creating a file under /etc
Date: Wed, 09 Oct 2019 10:11:25 +0200	[thread overview]
Message-ID: <87y2xuxrrm.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <20191007070305.GI561@E5400>

Hi Efraim,

thanks for the very interesting example!

Efraim Flashner <efraim@flashner.co.il> writes:

[...]

> (define %os-release-file
>   (plain-file "os-release"
>               (string-append
>                 "NAME=\"Guix System\"\n"
>                 "PRETTY_NAME=\"Guix System\"\n"
>                 "VERSION=\""((@ (guix packages) package-version) (@ (gnu packages package-management) guix))"\"\n"
>                 "ID=guix\n"
>                 "HOME_URL=\"https://www.gnu.org/software/guix/\"\n"
>                 "SUPPORT_URL=\"https://www.gnu.org/software/guix/help/\"\n"
>                 "BUG_REPORT_URL=\"mailto:bug-guix@gnu.org\"\n")))
>
> (simple-service 'os-release etc-service-type
>                 `(("os-release" ,%os-release-file)))

[...]

IMHO this is a perfect candidate - whith many other replies in help-guix
- for the Guix Cookbook (thanks Ricardo for creating it!): what about to
expand your example in a patch for the cookbook? :-)

Thanks! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

      reply	other threads:[~2019-10-09  8:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-07  0:12 New reconfigure, creating a file under /etc SuarezMiguelC via
2019-10-07  2:12 ` John Soo
2019-10-07  6:30   ` Gábor Boskovits
2019-10-07  7:03 ` Efraim Flashner
2019-10-09  8:11   ` Giovanni Biscuolo [this message]

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=87y2xuxrrm.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    /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.