From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: emacs.scm: Suggest add emacs-next or emacs-snapshot Date: Fri, 13 Nov 2015 15:44:20 +0100 Message-ID: References: <11cf533a.13b0.150f91df556.Coremail.tumashu@163.com> <87fv0bz8f4.fsf@gnu.org> <7fcbf7df.11d3.150fe3ce823.Coremail.tumashu@163.com> <87io56p9pz.fsf@gnu.org> <876116hzy7.fsf@163.com> 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]:36730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxFab-0000AG-NJ for guix-devel@gnu.org; Fri, 13 Nov 2015 09:44:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxFaY-0001XS-HV for guix-devel@gnu.org; Fri, 13 Nov 2015 09:44:33 -0500 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:55122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxFaY-0001Wc-7u for guix-devel@gnu.org; Fri, 13 Nov 2015 09:44:30 -0500 In-Reply-To: <876116hzy7.fsf@163.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Feng Shu Cc: guix-devel@gnu.org Feng Shu writes: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Currently you have to do: >> >> guix package -i $(guix build emacs --with-source=3D=E2=80=A6/emacs-2= 0151111.tar.gz) >> >> Not as convenient as one would like. I guess we could add --with-sour= ce >> directly in =E2=80=98guix package=E2=80=99. > > I agree and suggest add a way which can override name and verison, for > example: > > guix package -i emacs-snapshot --with-source=3D/path/to/emacs.git --o= verride-name=3Demacs-snapshot --override-version=3D20151111 I don=E2=80=99t like to add override-name and override-version flags. Th= ey don=E2=80=99t seem very useful. After all, every different build gets it= s own directory in the store, so =E2=80=9Coverride-version=E2=80=9D seems to be= useless. =E2=80=9Coverride-name=E2=80=9D just duplicates the package name, so I fa= il to see how it would be an improvement. I do agree that it would be a little nicer if we could build and install a package from a directory, rather than just from a tarball. ~~ Ricardo