gnu: python-pynbody: Prepare for cross compilation.

* gnu/packages/astronomy.scm (python-pynbody)[arguments]{phases}: Add
'set-compiler phase.

Change-Id: I64feabbdd76679d5a86a85a9f50cd0be90f60c1c
Signed-off-by: Eric Bavier <bavier@posteo.net>
This commit is contained in:
Sharlatan Hellseher 2023-11-17 12:16:01 +00:00 committed by Eric Bavier
parent e31c1dcce9
commit 3ffd914237
No known key found for this signature in database
GPG key ID: BC45CA67E2F8D007

View file

@ -3575,7 +3575,12 @@ (define-public python-pynbody
"--ignore=tests/sph_smooth_test.py"
"--ignore=tests/subfind_test.py"
"--ignore=tests/subfindhdf_gadget4_test.py"
"--ignore=tests/tipsy_test.py")))
"--ignore=tests/tipsy_test.py")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-compiler
(lambda _
(setenv "CC" #$(cc-for-target)))))))
(native-inputs
(list python-cython
python-pandas