unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: "(" <paren@disroot.org>, help-guix@gnu.org
Subject: Re: "bad use of syntactic keyword" - after "sudo guix system reconfigure /etc/config.scm"
Date: Thu,  4 Aug 2022 12:55:10 +0000	[thread overview]
Message-ID: <7fc48296-5c8e-e2d1-a766-2f2eb25c30a2@posteo.de> (raw)
In-Reply-To: <CLWMWQHRCAG7.32R4DH5LNOWW1@guix-aspire>


[-- Attachment #1.1.1: Type: text/plain, Size: 1008 bytes --]

Hi Guixers,

thanks for the answer.

I changed my config.scm to:

(service guix-service-type
                config => (guix-configuration
                  (inherit config)
                  (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes"))))

and after:
gfp@Tuxedo ~$ sudo guix system reconfigure /etc/config.scm

it said:

/etc/config.scm:38:12: Fehler: (service guix-service-type config => 
(guix-configuration (inherit config) (extra-options (list 
"--gc-keep-derivations=yes" "--gc-keep-outputs=yes")))): source 
expression failed to match any pattern

Gottfried

Am 03.08.22 um 21:18 schrieb (:
> On Wed Aug 3, 2022 at 8:17 PM BST, Gottfried wrote:
>>               (guix-service-type
>>                   config => (guix-configuration
>>                   (inherit config)
>>                   (extra-options (list "--gc-keep-derivations=yes"
> I believe the correct usage would be
> 
>    (service guix-service-type ...)
> 
>      -- (


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2022-08-04 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 19:17 "bad use of syntactic keyword" - after "sudo guix system reconfigure /etc/config.scm" Gottfried
2022-08-03 19:18 ` (
2022-08-04 12:55   ` Gottfried [this message]
2022-08-03 20:20 ` Efraim Flashner

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=7fc48296-5c8e-e2d1-a766-2f2eb25c30a2@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=paren@disroot.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).