From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Setting up plug and print on GuixSD? Date: Sun, 24 Jul 2016 15:27:16 -0400 Message-ID: <20160724192716.GA26296@jasmine> References: <87h9hs5ywn.fsf@gnu.org> <8737tbi81y.fsf@gnu.org> <20160724003047.GD26863@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="DocE+STaALJfprDB" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRP3l-00036T-7W for help-guix@gnu.org; Sun, 24 Jul 2016 15:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRP3g-0006JT-8C for help-guix@gnu.org; Sun, 24 Jul 2016 15:27:32 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:57307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRP3e-0006JE-Ud for help-guix@gnu.org; Sun, 24 Jul 2016 15:27:28 -0400 Content-Disposition: inline In-Reply-To: <20160724003047.GD26863@jasmine> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: myglc2 Cc: help-guix@gnu.org --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jul 23, 2016 at 08:30:47PM -0400, Leo Famulari wrote: > On Sat, Jul 23, 2016 at 07:35:52PM -0400, myglc2 wrote: > > The bottom line is that it looks to me like this might work if the > > --localstatedir=/var problem is fixed. > > So, you think we should set that option while configuring the cups > build? I tried to set that option with the attached patch, but the cups build process tries to write to localstatedir at build time, so it fails. Can't it be configured by the user, after installation? --DocE+STaALJfprDB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-cups-Set-localstatedir.patch" >From e11cca7df853654a398d66197e7fcba92cef72f8 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sun, 24 Jul 2016 15:23:43 -0400 Subject: [PATCH] gnu: cups: Set localstatedir. * gnu/packages/cups.scm (cups)[arguments]: Add '--localstatedir=/var' to #:configure-flags. --- gnu/packages/cups.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 51c7fd1..eda57c1 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -179,7 +179,8 @@ device-specific programs to convert and print many types of files.") #:tests? #f #:configure-flags '("--disable-launchd" - "--disable-systemd") + "--disable-systemd" + "--localstatedir=/var") #:phases (alist-cons-before 'configure -- 2.9.2 --DocE+STaALJfprDB--