all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: myglc2 <myglc2@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Setting up plug and print on GuixSD?
Date: Sun, 24 Jul 2016 15:27:16 -0400	[thread overview]
Message-ID: <20160724192716.GA26296@jasmine> (raw)
In-Reply-To: <20160724003047.GD26863@jasmine>

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

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?

[-- Attachment #2: 0001-gnu-cups-Set-localstatedir.patch --]
[-- Type: text/x-diff, Size: 852 bytes --]

From e11cca7df853654a398d66197e7fcba92cef72f8 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
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


  reply	other threads:[~2016-07-24 19:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 11:06 Setting up plug and print on GuixSD? swedebugia
2016-02-01 13:43 ` Ludovic Courtès
2016-02-02 10:45   ` swedebugia
2016-02-02 11:03     ` swedebugia
2016-02-02 12:57       ` Ludovic Courtès
2016-07-23 23:35         ` myglc2
2016-07-23 23:47           ` Tobias Geerinckx-Rice
2016-07-24  0:30           ` Leo Famulari
2016-07-24 19:27             ` Leo Famulari [this message]
2016-07-25  3:08               ` myglc2
2016-07-25 15:19                 ` Leo Famulari
2016-07-25 18:37                   ` myglc2

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=20160724192716.GA26296@jasmine \
    --to=leo@famulari.name \
    --cc=help-guix@gnu.org \
    --cc=myglc2@gmail.com \
    /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.