help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why do we force the lazy python?


From: Ricardo Wurmus
Subject: Re: Why do we force the lazy python?
Date: Sun, 10 Jul 2022 10:04:47 +0200
User-agent: mu4e 1.6.11; emacs 28.1

jgart <jgart@dismail.de> writes:

> Why do we check if python is a promise and then "force" it?

See the comment in this definition:

(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-"
                                #:variant-property 'python2-variant))

-- 
Ricardo



reply via email to

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