guix-devel
[Top][All Lists]
Advanced

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

Proper syntax for plain-file with sudoers-file


From: 白い熊@相撲道
Subject: Proper syntax for plain-file with sudoers-file
Date: Sun, 21 Jun 2015 11:36:09 +0200
User-agent: K-9 Mail for Android

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? 
白い熊@相撲道



reply via email to

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