diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2022-07-01 17:17:32 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-08-03 16:45:53 +0200 |
commit | 6181f1f26310146ae509af2074c55f87e8f21a96 (patch) | |
tree | ffbd541615acc24b8bf7cec44975a713fab32adf /tests/upstream.scm | |
parent | 6b5ef03a2582ab23228478018fd356e17db1daea (diff) | |
download | guix-6181f1f26310146ae509af2074c55f87e8f21a96.tar.gz guix-6181f1f26310146ae509af2074c55f87e8f21a96.zip |
build-system: asdf: Let ASDF locate the .asd files.
This approach has many benefits:
- It simplifies the build system.
- The package definitions are easier to write.
- It fixes a bug with systems that call asdf:clear-system which would cause
the load to fail. See for instance test systems using Prove.
* guix/build-system/asdf.scm (package-with-build-system): Remove 'asd-files'
and replace 'test-asd-file' by 'asd-test-systems'.
(lower): Same.
* guix/build/asdf-build-system.scm (source-asd-file): Remove since ASDF does
it better than us.
(find-asd-files): Same.
(build): Remove unused asd-files argument.
(check): Remove asd-files argument and replace asd-systems by
asd-test-systems.
* guix/build/lisp-utils.scm (compile-systems): Call to ASDF to find the
systems.
(test-system): Same.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'tests/upstream.scm')
0 files changed, 0 insertions, 0 deletions