Filip Lajszczak schreef op za 08-05-2021 om 15:28 [+0200]: > * gnu/packages/python-xyz.scm (python-pythonanywhere): New variable. > [...] > + (arguments > + `(#:phases (modify-phases %standard-phases > + (add-before 'check 'change-home > + (lambda _ > + (setenv "HOME" "/tmp") #t)) Phases do not need to return #t anymore; the warning you get if you remove it is misleading. The warning will disappear once core-updates is merged. > + (replace 'check > + (lambda _ > + (invoke "pytest" "-m" "not slowtest") #t))))) To support "guix build --without-tests" and cross-compilation, make this > + (replace 'check > + (lambda* (#:key tests? #:allow-other-keys) > + (when tests? > + (invoke "pytest" "-m" "not slowtest")))) The native-inputs and propagated-inputs seem about right to me, but I haven't tested. Greetings, Maxime