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`.