guix-devel
[Top][All Lists]
Advanced

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

Re: statedir locations


From: John Darrington
Subject: Re: statedir locations
Date: Tue, 28 Jan 2014 18:53:58 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jan 28, 2014 at 10:23:16AM +0100, Ludovic Court??s wrote:
     
     I was overconfident: the patch broke everything, because
     Automake-generated makefiles typically try to mkdir $localstatedir:
     
       http://hydra.gnu.org/eval/45514
     
     So I just reverted it, and I think we???re stuck with the status quo until
     someone has a better idea.

So the status quo is, that these packages mkdir /nix/store.../var/com .
Presumably they do that for a reason, viz the program needs to write
to these directories.   But they will not be able to do that because /nix/store
is immutable.  These programs will then break. :(

     
     For the longer term, we could submit an Automake patch such that it
     doesn???t insist on creating $localstatedir et al.

That sounds like a good idea.  In the meantime, couldn't we patch the generated 
Makefile.in so that it will not die if the mkdir fails?

J'
     

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

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