bug#24194: GUIX gc - add warning
"J. Eppler" writes: > I used GUIX for the first time and invoked: guix gc. The command deleted > all my bootstrap files (gcc, binutils, findutils etc.). There should be > a warning added to the manual page: > > https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-gc.html > > I was actually assuming that guix gc removes orphan packages, > build-caches, temporary files etc., but it does not seem to only do that. To clarify, J. Eppler was specifically avoiding binary substitutes, so he spent a lot of time bootstrapping Guix from source code, and was disappointed to discover that after "guix gc" he had to repeat that process. Mark
bug#24192: Gajim fails with locale.Error
I was using en_IN.UTF-8. After switching to en_US.UTF-8 and setting GUIX_LOCPATH and XDG_DATA_DIRS with export GUIX_LOCPATH="/gnu/store/rvc5iqmqwhhmj2mcip4x1y9g8chrlxs8-profile/lib/locale${GUIX_LOCPATH:+:}$GUIX_LOCPATH" export XDG_DATA_DIRS="/gnu/store/rvc5iqmqwhhmj2mcip4x1y9g8chrlxs8-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" gajim runs successfully. Isn't there a more automated way to handle these environment variables? Thanks. signature.asc Description: PGP signature
bug#24188: gnucash needs gtk+ in propagated-inputs
> The following environment variables are set which may make a difference > here: > > GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0 > GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0 > GTK_DATA_PREFIX=/run/current-system/profile After setting XDG_DATA_DIRS with export XDG_DATA_DIRS="/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" gnucash runs successfully. I found out about this using `guix environment --search-paths gnucash`. How do I find out about these environment variables in general? Shouldn't they be set in the gnucash wrapper script so that the user does not have to set them manually? signature.asc Description: PGP signature
bug#24145: [PATCH] gnu: asciidoc: Use local docbook-xsl package.
On Wed, Aug 03, 2016 at 11:07:52PM +0200, Tomáš Čech wrote: > * gnu/packages/documentation.scm(asciidoc): New input docbook-xsl, > replace use of online source and prefer docbook-xsl package. Not having any practical experience with docbook-xsl, I think this change looks fine, in general. I think the commit message should be like this: * gnu/packages/documentation.scm (asciidoc)[inputs]: Add docbook-xsl. [arguments]: Add 'make-local-docbook-xsl' phase. That is closer to the GNU Changelog format that we prefer to use. > + (add-before > + 'install 'make-local-docbook-xsl I think these two lines can collapsed into a single line. > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* (find-files "docbook-xsl" ".*\\.xsl$") > + (("xsl:import > href=\"http://docbook.sourceforge.net/release/xsl/current";) > +(string-append > + "xsl:import href=\"" > + (string-append (assoc-ref inputs "docbook-xsl") > +"/xml/xsl/docbook-xsl-" > +,(package-version docbook-xsl)) My limited sense of Scheme style tells me to shift the previous 4 lines to the right by 1 character. The function should return #t, since (substitute*) has no defined return value.
bug#24194: GUIX gc - add warning
On Tue, Aug 09, 2016 at 07:59:28PM -0400, J. Eppler wrote: > Hello, > > I used GUIX for the first time and invoked: guix gc. The command deleted > all my bootstrap files (gcc, binutils, findutils etc.). There should be > a warning added to the manual page: > > https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-gc.html I think the concept of garbage collector roots should be clarified in the manual somehow and linked to from 'Invoking guix gc'. Or it could even go in that section. I was surprised to find that the string 'gcroots' does not appear in the manual. > I was actually assuming that guix gc removes orphan packages, > build-caches, temporary files etc., but it does not seem to only do that. In your case, things that are not garbage collector roots (that is, not reachable from /var/guix/gcroots) could be considered orphans or temporary. I agree the documentation should be improved.