guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] scripts: package: Add --install-from-file option.


From: Amirouche Boubekki
Subject: Re: [PATCH] scripts: package: Add --install-from-file option.
Date: Wed, 19 Aug 2015 10:56:40 +0200
User-agent: Roundcube Webmail/1.1.2

Le 2015-08-19 10:27, Amirouche Boubekki a écrit :
Le 2015-08-09 17:59, David Thompson a écrit :
In my personal projects, I keep a 'package.scm' file in the root of the
source tree for use with 'guix environment -l'.  However, it's also
handy to install that package by using 'guix package -e':

    guix package -e '(primitive-load "package.scm")'

This patch adds a shorthand for this:

    guix package -f package.scm

What about dispatch `guix package -i` depending on the argument. In
principle there will be no "*.scm$" packages so the above could be

      guix package -i package.scm

The idea behind that is to keep the number of command to minimum. In
this case, IMO, it makes sens to merge both logic inside the same UI.

On a similar note, I like a lot the idea of Andy Wingo `guix install`
and `guix search`.

To be precise I prefer, `guix package install` and `guix package search` (which is not the subject of patch of Andy Wingo).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]