Fixes a bug whereby, on some machines, ./configure would fail with:
Warning: Checking of /proc/interrupts was requested, but it's bogus.
* gnu/packages/xdisorg.scm (xscreensaver)[arguments]: Pass
'--without-proc-interrupts'.
This is a followup to 45456595ac, which
was based on an incorrect diagnosis.
* gnu/packages/xdisorg.scm (xscreensaver)[source]: Add 'snippet'.
[arguments]: Remove custom 'configure' phase. Reintroduce #:configure-flags.
The 'asd-operation' parameter can be used to specify the ASDF operation to use
in the build phase. It's default value is "load-system".
* guix/build-system/asdf.scm (package-with-build-system, asdf-build): Add
'asd-operation' parameter.
* guix/build/asdf-buid-system.scm (build): Add 'asd-operation' parameter and
use it.
* guix/build/lisp-utils.scm (compile-systems): Add 'asd-operation' parameter
and use it.
* gnu/packages/lisp-xyz.scm (sbcl-jzon)[arguments]: Move test system
to #:asd-test-systems. Add phase to fix test .asd to actually run the tests.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
The updated build system is now able to find the system on its own.
* gnu/packages/lisp-xyz.scm (sbcl-cl-online-learning)[arguments]: Do it.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-quantile-estimator)[arguments]: Do it.
[native-inputs]: Add sbcl-mw-equiv, sbcl-prove, sbcl-log4cl.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-vas-string-metrics)[arguments]: Specify the
name of the test system and fix the .asd file to actually do something.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-spatial-trees)[arguments]: Do it.
[inputs] Add sbcl-alexandria, sbcl-optima, sbcl-iterate.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
In a previous commit we've update the build system to let ASDF locate the .asd
files for us, so package definition no longer need to provide this information.
* gnu/packages/lisp-check.scm: Do it.
* gnu/packages/lisp-xyz.scm: Do it.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-cl-gamepad)[arguments]: Remove 'build phase
patch now that asdf-build-system/sbcl builds using asdf:load-system which
fixes the bug.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
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>
According to the ASDF manual:
This will make sure all the files in the system are compiled, but not
necessarily load any of them in the current image; on most systems, it
will _not_ load all compiled files in the current image. This function
exists for symmetry with 'load-system' but is not recommended unless you
are writing build scripts and know what you're doing.
* guix/build/lisp-utils.scm (compile-systems): Switch from asdf:compile-system
to asdf:load-system.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/aux-files/emacs/guix-emacs.el
(guix-emacs-autoload-packages): Pass NOMESSAGE as t for 'load'.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/patches/nsis-source-date-epoch.patch: Drop this patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/patches/nsis-env-passthru.patch: Adjust the patch.
* gnu/packages/installers.scm (make-nsis): Update to 3.08.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>