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:27:42 +0200
User-agent: Roundcube Webmail/1.1.2

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


The motivation for this is to ultimately encourage other people to keep
a 'package.scm' file in their own repos for building reproducible
development environments and easily testing development snapshots, like
what we do with our 'guix-devel' package.

I'd like to add the same option for 'guix build', if this is approved.



reply via email to

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