GNU bug report logs -
#59278
gcc@7 and higher are not hidden packages
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
In the documentation, when it says "guix search" search matching package,
if users don't find a package defined in .scm (hidden or no), users can
consider it is a bug, because that doesn't match the behavior described in
the specification (here, the manual and "guix search --help").
Le mar. 15 nov. 2022 à 15:54, zimoun <zimon.toutoune <at> gmail.com> a écrit :
> Hi,
>
> On Tue, 15 Nov 2022 at 00:53, bbb ee <blasforr <at> gmail.com> wrote:
>
> > in commit c81457, how gcc-toolchain can depends a package who doesn't
> > exists?
>
> The package exists, it is ’hidden’ – it means not accessible at the CLI
> level. The ’inherit’ copies, so gcc-11 is also hidden, for instance.
>
> --8<---------------cut here---------------start------------->8---
> (define-public gcc-4.7
> [...]
> (hidden-package
> (package
> (name "gcc")
> (version "4.7.4")
>
> (define-public gcc-4.8
> (package (inherit gcc-4.7)
> (version "4.8.5")
>
> [...]
>
> (define-public gcc-11
> (package
> (inherit gcc-8)
> (version "11.3.0")
> --8<---------------cut here---------------end--------------->8---
>
> The package ’gcc’ by itself is not barely useful because you also need
> linker etc. Well, you usually need a complete toolchain, named
> gcc-toolchain. ;-)
>
> See manual: <
> https://guix.gnu.org/manual/devel/en/guix.html#The-GCC-toolchain>
>
>
> So this is not a bug and I miss how what could be improved. Closing?
>
> Cheers,
> simon
>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.