all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andy Patterson <ajpatter@uwaterloo.ca>
Cc: help-guix@gnu.org, Toni Reina <areina@riseup.net>
Subject: Re: StumpWM package doesn't work
Date: Mon, 28 Nov 2016 10:53:16 +0100	[thread overview]
Message-ID: <87vav8dj94.fsf@gnu.org> (raw)
In-Reply-To: <20161128022715.510e5115@uwaterloo.ca> (Andy Patterson's message of "Mon, 28 Nov 2016 02:27:15 -0500")

Andy Patterson <ajpatter@uwaterloo.ca> skribis:

> On Sun, 27 Nov 2016 21:43:23 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> iyzsong@member.fsf.org (宋文武) skribis:
>> 
>> > Toni Reina <areina@riseup.net> writes:
>> >  
>> >> Hello,
>> >>
>> >> I'm trying to install `sbcl-stumpwm` package and looks like it
>> >> doesn't work correctly. It's installed with no errors, but it
>> >> doesn't generate the stumpwm binary file.
>> >>
>> >> The following package will be installed:
>> >>    sbcl-stumpwm
>> >> 0.9.9   /gnu/store/z92ri0kgjdavkp7llav1db0dia44sbid-sbcl-stumpwm-0.9.9
>> >>
>> >> ls /gnu/store/z92ri0kgjdavkp7llav1db0dia44sbid-sbcl-stumpwm-0.9.9  
>> >> -> lib  share  
>> >>  
>> >
>> > It's in the "bin" output of sbcl-stumpwm package, you can get it
>> > with:
>> >
>> > guix package -i sbcl-stumpwm:bin  
>> 
>> It might be clearer to have an “out” and a “lib” output (instead of
>> “bin” and “out”).  WDYT, Andy & 宋文武?
>
> I think that would basically shift the awkwardness from package
> installation over to package development, since it would then be
> required that all dependants of stumpwm use the lib output in the
> inputs field (but only on sbcl? - since ecl binaries aren't supported
> just yet). 

OK but there’s only one dependent:

--8<---------------cut here---------------start------------->8---
$ guix refresh -l sbcl-stumpwm
A single dependent package: sbcl-stumpwm-with-slynk-0.9.9
--8<---------------cut here---------------end--------------->8---

So I think it would be preferable to do it the way I suggest, no?

> I think the best way to clarify things would be to merge the outputs,
> although this carries a ~61MiB (~11MiB compressed) extra cost. In the
> case of stumpwm, I guess that the library isn't all that useful without
> the binary, so that might be ok.

Could be an option, but not great.

> Another alternative would be to create a separate package like with
> sbcl-stumpwm-with-slynk.
>
> I think what might be at the root of the issue though is that multiple
> outputs aren't discoverable enough. The page at
> <https://www.gnu.org/software/guix/package-list.html> doesn't list them
> AFAICT, and entering guix package -i sbcl-stumpwm into a shell and
> mashing tab only lists one entry for the package, when I think it
> should be two.

Good points!  We can certainly address these two issues quite easily.

Thanks for your feedback!

Ludo’.

  reply	other threads:[~2016-11-28  9:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-27  0:48 StumpWM package doesn't work Toni Reina
2016-11-27  5:59 ` 宋文武
2016-11-27 17:13   ` Toni Reina
2016-11-27 20:43   ` Ludovic Courtès
2016-11-28  7:27     ` Andy Patterson
2016-11-28  9:53       ` Ludovic Courtès [this message]
2016-12-04  4:11         ` Andy Patterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vav8dj94.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=ajpatter@uwaterloo.ca \
    --cc=areina@riseup.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.