Thiago Jung Bauermann 写道:
(define gcc->gcc-10 (package-input-rewriting `((,gcc-7 . ,gcc-10)(,(make-libstdc++ gcc-7) . ,(make-libstdc++ gcc-10)))))(define-public mesa-10 (package (inherit (gcc->gcc-10 mesa)) (name "mesa-10"))) ```i.e., the only change relative to the previous try was to look for ‘gcc-7’rather than ‘gcc’ to make the substitution.
This might be because GCC & friends are implicit inputs brought in through the build system, not listed by the package itself.
Kind regards, T G-R
signature.asc
Description: PGP signature