From: 白い熊@相撲道 <guix-devel_gnu.org@sumou.com>
To: GuixSD <guix-devel@gnu.org>
Subject: Proper syntax for plain-file with sudoers-file
Date: Sun, 21 Jun 2015 11:36:09 +0200 [thread overview]
Message-ID: <52E51681-0999-4A83-BAE4-0E89526468BB@sumou.com> (raw)
I've been using
(sudoers "xxx...")
in my config.scm file a long time.
Now, for some time it's been warning me that using a string for file “sudoers” is deprecated and to use “plain-file”.
So I've tried
(sudoers-file (plain-file "/etc/sudoers" "xxx..."))
but I'm told: “invalid character `/' in name `/etc/sudoers'”
What's the proper syntax?
白い熊@相撲道
next reply other threads:[~2015-06-21 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 9:36 白い熊@相撲道 [this message]
2015-06-21 13:30 ` Proper syntax for plain-file with sudoers-file Alex Kost
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=52E51681-0999-4A83-BAE4-0E89526468BB@sumou.com \
--to=guix-devel_gnu.org@sumou.com \
--cc=guix-devel@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.