From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: StumpWM package doesn't work Date: Mon, 28 Nov 2016 10:53:16 +0100 Message-ID: <87vav8dj94.fsf@gnu.org> References: <87inr9kat6.fsf@riseup.net> <87eg1xh3a2.fsf@member.fsf.org> <87a8ckmz6c.fsf@gnu.org> <20161128022715.510e5115@uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBIco-00051g-Bs for help-guix@gnu.org; Mon, 28 Nov 2016 04:53:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBIck-00075U-Ay for help-guix@gnu.org; Mon, 28 Nov 2016 04:53:26 -0500 In-Reply-To: <20161128022715.510e5115@uwaterloo.ca> (Andy Patterson's message of "Mon, 28 Nov 2016 02:27:15 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Andy Patterson Cc: help-guix@gnu.org, Toni Reina Andy Patterson skribis: > On Sun, 27 Nov 2016 21:43:23 +0100 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: >>=20 >> > Toni Reina writes: >> >=20=20 >> >> 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=20= =20 >> >> -> lib share=20=20 >> >>=20=20 >> > >> > It's in the "bin" output of sbcl-stumpwm package, you can get it >> > with: >> > >> > guix package -i sbcl-stumpwm:bin=20=20 >>=20 >> It might be clearer to have an =E2=80=9Cout=E2=80=9D and a =E2=80=9Clib= =E2=80=9D output (instead of >> =E2=80=9Cbin=E2=80=9D and =E2=80=9Cout=E2=80=9D). WDYT, Andy & =E5=AE= =8B=E6=96=87=E6=AD=A6? > > 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).=20 OK but there=E2=80=99s 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 > 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=E2=80=99.