unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* python-pbr-minimal
@ 2017-06-17 19:32 Catonano
  2017-06-17 22:30 ` python-pbr-minimal Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Catonano @ 2017-06-17 19:32 UTC (permalink / raw)
  To: guix-devel

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

[env]$ ./pre-inst-env guix lint python-pbr-minimal
guix lint: error: python-pbr-minimal: unknown package

This is after applying Muriithi's patch that updates python-pbr-minimal to
3.0.1

I didn't try before applying the patch

Note that python-pbr (without the -minimal) works like a charm and it
inherits from python-pbr-minimal

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

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

* Re: python-pbr-minimal
  2017-06-17 19:32 python-pbr-minimal Catonano
@ 2017-06-17 22:30 ` Leo Famulari
  2017-06-18  4:27   ` python-pbr-minimal Catonano
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2017-06-17 22:30 UTC (permalink / raw)
  To: Catonano; +Cc: guix-devel

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

On Sat, Jun 17, 2017 at 09:32:41PM +0200, Catonano wrote:
> [env]$ ./pre-inst-env guix lint python-pbr-minimal
> guix lint: error: python-pbr-minimal: unknown package
> 
> This is after applying Muriithi's patch that updates python-pbr-minimal to
> 3.0.1
> 
> I didn't try before applying the patch
> 
> Note that python-pbr (without the -minimal) works like a charm and it
> inherits from python-pbr-minimal

python-pbr-minimal is a "private" package variable, not exported, and
thus not typically available to the command-line tools.

It's the difference between (define-public python-pbr-minimal) and
(define python-pbr-minimal).

You can still pass it as a Scheme expression to some commands:

guix build --expression='(@@ (gnu packages python ) python-pbr-minimal)'

However, `guix lint` doesn't honor --expression.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: python-pbr-minimal
  2017-06-17 22:30 ` python-pbr-minimal Leo Famulari
@ 2017-06-18  4:27   ` Catonano
  0 siblings, 0 replies; 3+ messages in thread
From: Catonano @ 2017-06-18  4:27 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

2017-06-18 0:30 GMT+02:00 Leo Famulari <leo@famulari.name>:

> On Sat, Jun 17, 2017 at 09:32:41PM +0200, Catonano wrote:
> > [env]$ ./pre-inst-env guix lint python-pbr-minimal
> > guix lint: error: python-pbr-minimal: unknown package
> >
> > This is after applying Muriithi's patch that updates python-pbr-minimal
> to
> > 3.0.1
> >
> > I didn't try before applying the patch
> >
> > Note that python-pbr (without the -minimal) works like a charm and it
> > inherits from python-pbr-minimal
>
> python-pbr-minimal is a "private" package variable, not exported, and
> thus not typically available to the command-line tools.
>
> It's the difference between (define-public python-pbr-minimal) and
> (define python-pbr-minimal).
>

yes. I just overlooked the missing "-public" part on the define :-/
I apologize


>
> You can still pass it as a Scheme expression to some commands:
>
> guix build --expression='(@@ (gnu packages python ) python-pbr-minimal)'
>
> However, `guix lint` doesn't honor --expression.
>

Good to know

Thanks

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

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

end of thread, other threads:[~2017-06-18  4:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-17 19:32 python-pbr-minimal Catonano
2017-06-17 22:30 ` python-pbr-minimal Leo Famulari
2017-06-18  4:27   ` python-pbr-minimal Catonano

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).