[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing package-with-python2 (was: Package transformations)
From: |
Thompson, David |
Subject: |
Re: Fixing package-with-python2 (was: Package transformations) |
Date: |
Mon, 1 Feb 2016 11:49:34 -0500 |
On Mon, Feb 1, 2016 at 11:35 AM, Efraim Flashner <address@hidden> wrote:
> Not all of our python packages are in python.scm. Currently in
> guix/build-system/python.scm we have:
>
> (define package-with-python2
> ;; Note: delay call to 'default-python2' until after the 'arguments' field
> ;; of packages is accessed to avoid a circular dependency when evaluating
> ;; the top-level of (gnu packages python).
> (package-with-explicit-python (delay (default-python2))
> "python-" "python2-"))
>
> Excuse the code, but I think we're looking for something like:
>
> (define package-with-python2
> (if (exists? python2-foo)
> (python2-foo)
> (package-with-explicit-python (delay (default-python2))
> "python-" "python2-"))
I believe you just said the same thing I said. We're on the same page.
- Dave
- Fixing package-with-python2 (was: Package transformations), Thompson, David, 2016/02/01
- Re: Fixing package-with-python2 (was: Package transformations), Pjotr Prins, 2016/02/01
- Re: Fixing package-with-python2 (was: Package transformations), Efraim Flashner, 2016/02/01
- Re: Fixing package-with-python2 (was: Package transformations),
Thompson, David <=
- Re: Fixing package-with-python2 (was: Package transformations), Andreas Enge, 2016/02/01
- Re: Fixing package-with-python2, Ludovic Courtès, 2016/02/01