all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to replace package in system configuration?
@ 2018-07-04 13:21 Jone
  2018-07-04 14:53 ` Marius Bakke
  0 siblings, 1 reply; 6+ messages in thread
From: Jone @ 2018-07-04 13:21 UTC (permalink / raw)
  To: help-guix

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

Hello. My question briefly: I want to get a compact base system, but can
not do this by of the dependencies.

Now for more details: during reconfigure installed a package A. A depend of
B, B depend of C,
C depend of D, .. and all of them I don't need.
Removing package А will probably require a lot of work, but I can change
the dependencies of the package
and rebuild A at next reconfigure. But how to specify it in
system_configuration.scm?

Such variant:

    (define-public PKG-A
     (package (inherit PKG-A))
     (name ...
     (version ...
     (arguments
       #:tests? #f
       #:configure-flags LIST-OF-CHANGED-CONFIGURE-OPTIONS
       ...

- probably is wrong? Then maybe so:

    (define B
     (package (inherit PKG-A))
     ...
    (define-public B)

In my case, the unfortunate chain of dependencies is:
    mariadb <- qtbase <- qtsvg <- python-pyqt <- hplip <- sane-backends <-
colord
and colord supports "--disable-sane" flag.

[-- Attachment #2: Type: text/html, Size: 1564 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-20  1:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-04 13:21 How to replace package in system configuration? Jone
2018-07-04 14:53 ` Marius Bakke
2018-07-04 16:26   ` Jone
2018-07-04 19:53     ` Jone
2018-07-09 12:17   ` Ludovic Courtès
2018-08-20  1:34     ` Maxim Cournoyer

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.