all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Obsolete packages listed as available
@ 2013-01-03 13:21 Andreas Enge
  2013-01-03 14:49 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-01-03 13:21 UTC (permalink / raw)
  To: bug-guix

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

Hello,

when executing
   guix-package --list-available | grep mit
I see two packages:
mit-krb5        1.11    distro/packages/mit-krb5.scm:29:3
mit-krb5        1.11    distro/packages/sasl.scm:145:3

The first one is the really available one; the second one was contained in 
a file sasl.scm in an old branch. Both the file and the branch have been 
deleted in the meantime. However, I suppose the package exists still 
somewhere in the nix store.

Is this listing of obsolete packages a bug or a feature?

Andreas

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

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

* Re: Obsolete packages listed as available
  2013-01-03 13:21 Obsolete packages listed as available Andreas Enge
@ 2013-01-03 14:49 ` Ludovic Courtès
  2013-01-03 16:37   ` Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-01-03 14:49 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Hi,

Andreas Enge <andreas@enge.fr> skribis:

> when executing
>    guix-package --list-available | grep mit
> I see two packages:
> mit-krb5        1.11    distro/packages/mit-krb5.scm:29:3
> mit-krb5        1.11    distro/packages/sasl.scm:145:3
>
> The first one is the really available one; the second one was contained in 
> a file sasl.scm in an old branch. Both the file and the branch have been 
> deleted in the meantime. However, I suppose the package exists still 
> somewhere in the nix store.

I suppose the file sasl.scm still exists along with the other files.
Even if it’s not under version control, the module-listing code in
distro.scm will stumble upon it, and thus list any packages that it
exports.

If you remove that file, it will no longer show up.

HTH,
Ludo’.

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

* Re: Obsolete packages listed as available
  2013-01-03 14:49 ` Ludovic Courtès
@ 2013-01-03 16:37   ` Andreas Enge
  2013-01-03 18:39     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2013-01-03 16:37 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: bug-guix

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

Am Donnerstag, 3. Januar 2013 schrieb Ludovic Courtès:
> I suppose the file sasl.scm still exists along with the other files.
> Even if it’s not under version control, the module-listing code in
> distro.scm will stumble upon it, and thus list any packages that it
> exports.

Yes and no - it still existed in the guix installation directory, but not 
in the source directory. After removing it, the extra package disappeared. 
Thanks!

Would it make sense to first empty $PREFIX/share/guile/site/2.0 before 
installing the files during "make install"?

Andreas

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

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

* Re: Obsolete packages listed as available
  2013-01-03 16:37   ` Andreas Enge
@ 2013-01-03 18:39     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-01-03 18:39 UTC (permalink / raw)
  To: Andreas Enge; +Cc: bug-guix

Andreas Enge <andreas@enge.fr> skribis:

> Would it make sense to first empty $PREFIX/share/guile/site/2.0 before 
> installing the files during "make install"?

I don’t think so, that’s not what usually happens upon “make install”.

Ludo’.

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

end of thread, other threads:[~2013-01-03 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 13:21 Obsolete packages listed as available Andreas Enge
2013-01-03 14:49 ` Ludovic Courtès
2013-01-03 16:37   ` Andreas Enge
2013-01-03 18:39     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.