[Top][All Lists]

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

Re: A postinst equivalent in Guix?

From: John Darrington
Subject: Re: A postinst equivalent in Guix?
Date: Fri, 20 Jan 2017 07:23:12 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Jan 19, 2017 at 08:30:26PM +0200, Georgi Kirilov wrote:
     is there anything in Guix that can do things at install time, like postinst
     scripts in Debian?
     A program in a package I created is trying to access /var, but has no
     permissions. (Well, /gnu/store/.../var)
     The 'install' make target was doing 'chgrp' and 'install -g', but I had to
     remove these because there was no such group in the chroot jail. And it
     would be wrong anyway, as the gid in the jail would be different from that
     in the systems where the package will be installed.
     So, I guess /gnu/store/.../var has to be chgrp-ed during installation, on
     the user's system.

It's a fast rule that packages in Guix may not mutate the store.  So you will
have to find out exactly what and why your package is trying to do that, and
work out another way to effect it.


Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See 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]