bug-guix
[Top][All Lists]
Advanced

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

bug#48024: glib-2.62.6 build fails i686


From: Bone Baboon
Subject: bug#48024: glib-2.62.6 build fails i686
Date: Thu, 06 May 2021 15:36:51 -0400

Mark H Weaver writes:
> One more important note: regardless of whether you run Guix from a git
> checkout or use the official 'master' branch, if you build everything
> locally, then it's important to pass "--gc-keep-derivations=yes" and
> "--gc-keep-outputs=yes" to the Guix daemon.
>
> Those flags change the way the Guix garbage collector operates, such
> that more store items are retained.  I've forgotten the precise details,
> but roughly, these flags cause not only the run-time requirements of the
> currently-installed software to be retained, but also the *build*
> requirements of that software.  Without these flags, "guix gc" will
> delete far too much, and you'll likely end up having to rebuild a great
> many packages that are needed at build time only.
>
> I have something close to this in the 'services' field of my OS config:
>
> --8<---------------cut here---------------start------------->8---
>   (modify-services %desktop-services
>     (guix-service-type config =>
>                        (guix-configuration
>                          (inherit config)
>                          (use-substitutes? #f)
>                          (authorize-key?   #f)
>                          (authorized-keys '())
>                          (substitute-urls '())
>                          (extra-options '("--gc-keep-derivations=yes"
>                                           "--gc-keep-outputs=yes")))))
> --8<---------------cut here---------------end--------------->8---

Thank you for sharing this.





reply via email to

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