[Top][All Lists]

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

Re: distinguishing between applications and libraries

From: Ricardo Wurmus
Subject: Re: distinguishing between applications and libraries
Date: Mon, 01 Jul 2019 23:46:18 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Pierre Neidhardt <address@hidden> writes:

> Robert Vollmert <address@hidden> writes:
>> Good point, but that breaks down once a library is used by a package
>> outside that module. E.g. consider the various ghc-* packages. Running
>> “guix search clock” returns `ghc-clock` and `ocaml-mtime`. The first
>> needs to be public since it’s used elsewhere, the second is defined
>> as public anyway. Should that change?
> If you need to depend on a non-exported package, you can still
> access it with
>   (@@ (gnu packages my-module) my-package)

Nah, it’s not good to do this.  The use of @@ is an anti-pattern.

To completely hide a package from the UI use “hidden-package” or
“(properties ((hidden . #t)))”.


reply via email to

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