help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New reconfigure, creating a file under /etc


From: Giovanni Biscuolo
Subject: Re: New reconfigure, creating a file under /etc
Date: Wed, 09 Oct 2019 10:11:25 +0200

Hi Efraim,

thanks for the very interesting example!

Efraim Flashner <address@hidden> 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:address@hidden\"\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 via email to

[Prev in Thread] Current Thread [Next in Thread]