Hi Leo, On Tue, 19 Jul 2016 23:58:23 -0400 Leo Famulari <l...@famulari.name> wrote:
> In this case, it looks like the Python 2 variant of the package is the > same as the Python 3 variant, aside from the Python version. So, you > should be able to drop the (properties `((python2-variant ...) line from > the python-ptpython package. I tried that, but I still can't do $ guix package -i ptpython-2 because: guix package: error: ptpython: package not found for version 2 . I've since settled on (define-public ptpython-2 (let ((base (package-with-python2 (strip-python2-variant ptpython)))) (package (inherit base) (name "ptpython-2")))) ... which does work. On second thought the package-with-python2 probably can't recognize the name otherwise. Now, the ptpython executables are still called the same - so you can't install ptpython and ptpython-2 at the same time. > I hope that helps! Yup, thanks!