Andreas Enge <[email protected]> skribis:

> I tried adding glibc as an explicit input and to overwrite the path in 
> setup.py. However, that does not use the glibc of the CPATH, but builds 
> another one on top of it. Do I understand it correctly that I need to use 
> glibc-final instead?

Glibc is automatically added as an input, under the name “glibc” (see
build-system/gnu.scm).

So you can just do something like:

  (lambda* (#:key inputs #:allow-other-keys)
    (substitute* "setup.py"
      (("/usr/include")
       (string-append (assoc-ref inputs "glibc") "/include"))))

HTH,
Ludo’.

Reply via email to