[Top][All Lists]

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

How to replace package in system configuration?

From: Jone
Subject: How to replace package in system configuration?
Date: Wed, 4 Jul 2018 13:21:47 +0000

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 ...
       #: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.

reply via email to

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