From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK77yg55u45pKy6YGT?= Subject: Proper syntax for plain-file with sudoers-file Date: Sun, 21 Jun 2015 11:36:09 +0200 Message-ID: <52E51681-0999-4A83-BAE4-0E89526468BB@sumou.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6bfo-0002WB-Ra for guix-devel@gnu.org; Sun, 21 Jun 2015 05:36:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6bfj-0006HT-PK for guix-devel@gnu.org; Sun, 21 Jun 2015 05:36:20 -0400 Received: from mccarthy.hcoop.net ([69.90.123.73]:44821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6bfj-0006HJ-M3 for guix-devel@gnu.org; Sun, 21 Jun 2015 05:36:15 -0400 Received: from 37-48-34-1.tmcz.cz ([37.48.34.1] helo=[10.81.6.24]) by mccarthy.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z6bfg-000304-BX for guix-devel@gnu.org; Sun, 21 Jun 2015 05:36:12 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: GuixSD 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? 白い熊@相撲道