[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg-config disappeared
From: |
Ludovic Courtès |
Subject: |
Re: pkg-config disappeared |
Date: |
Sat, 15 Jun 2013 15:51:54 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Andreas Enge <address@hidden> skribis:
> Am Samstag, 15. Juni 2013 schrieb Ludovic Courtès:
>> I just committed this to solve the problem:
>
> -(define %pkg-config
> +;; This is the "primitive" pkg-config package. People should use `pkg-
> config'
> +;; (see below) rather than `%pkg-config', but we export `%pkg-config' so
> that
> +;; `fold-packages' finds it.
> +(define-public %pkg-config
>
> This is weird; we should not expect people to install %pkg-config instead
> of pkg-config. Something else should be modified so that pkg-config is
> "visible" by "guix package" under its normal name.
It /is/ visible under its normal name: the package name is different
from the variable name. What matters for ‘guix package’ is the ‘name’
field, not the name of the variable.
BTW, in the meantime it’s always possible to install pkg-config with
something like:
guix package -e '(@@ (gnu packages pkg-config) %pkg-config)'
which directly refers to the variable.
Ludo’.