Feng Shu <[email protected]> writes: > [email protected] (Ludovic Courtès) writes: > >> Currently you have to do: >> >> guix package -i $(guix build emacs --with-source=…/emacs-20151111.tar.gz) >> >> Not as convenient as one would like. I guess we could add --with-source >> directly in ‘guix package’. > > I agree and suggest add a way which can override name and verison, for > example: > > guix package -i emacs-snapshot --with-source=/path/to/emacs.git > --override-name=emacs-snapshot --override-version=20151111
I don’t like to add override-name and override-version flags. They don’t seem very useful. After all, every different build gets its own directory in the store, so “override-version” seems to be useless. “override-name” just duplicates the package name, so I fail 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
