Commit graph

20 commits

Author SHA1 Message Date
Luke Gorrie 4f9ca7c565
Common lisp update (#142209)
quicklisp: 2021-02-13 -> 2021-08-07
lispPackages: regenerate from fresher Quicklisp
sbcl: 2.1.2 -> 2.1.9 (switch default version)
lispPackages.mgl, lispPackages.mgl-mat: init
lispPackages.iolib: suppress network-reliant tests
lispPackages.esrap: apply upstream SBCL 2.1.9 compatibility patch

Removed packages caveman and clack-v1-compat that are removed.

Added more packages from Quicklisp.

* lisp-modules/shell.nix: Add openblas for MGL

* lisp-modules: Update README.txt

Mention that shell.nix needs to be updated when adding packages that
have external dependencies during package analysis, e.g. package :LLA that specifically wants to load libblas.so at compile-time.

* lisp-modules/define-package.nix: Fix package path deduplication

The deduplication of NIX_LISP_ASDF_PATHS was not working, apparently
due to a shell quoting bug causing the sort/uniq pipeline to run at
the wrong time. This is now deduplicated in a separate step.

This fixes a series problem where environments with many Lisp packages
would exhasut the available environment space on Linux, causing
obscure "too many arguments" error messages from the shell, because
the NIX_LISP_ASDF_PATHS list was bloated with ~90% duplicates.

Co-authored-by: Luke Gorrie <luke@nuddy.co>
2021-10-20 14:30:31 +00:00
Ben Siraphob 36c91cea1d treewide: stdenv.lib -> lib 2021-01-27 13:08:40 +07:00
Ramzi Ben Yahya 00d4ce01de lisp-modules: fix missing && after test command 2020-05-04 21:55:21 +02:00
Michael Raskin cd77f69ec8 lispPackages: fix build 2019-11-22 17:41:46 +01:00
rnhmjoj bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Michael Raskin a035714be9 lispPackages: remove trailing colon from {NIX_LISP_,}LD_LIBRARY_PATH 2018-02-25 18:10:58 +01:00
Michael Raskin 32925f082b lispPackages: deduplicate dynamical library search path 2018-01-27 21:59:19 +01:00
Michael Raskin 4db842f465 lispPackages: A less aggressive way to manipulate ASDF search path, as suggested by Fare 2017-11-22 07:56:17 +01:00
Brad Jensen f0c8027ae3 Overhaul quicklisp-to-nix
1. Detect (and automatically handle) parasitic systems.
2. Each nix package has only one asd, and (almost) every parasitic
   package inside it builds.
3. Ensure that parasitic systems are compiled.
4. Remove unnecessary testnames lisp override mechanism (the
   testnae/testSystem is replaced by parasites/buildSystems).
5. Parasitic systems (if included in the system closure) become
   aliases to their host package.
6. Support caching fasl files in a known directory (for faster
   re-generation after modifying quicklisp-to-nix-system-info).
7. Eliminate unnecessary overrides.  We're going to determine ALL
   lisp dependencies correctly.
8. Don't try to "build" lisp packages with make.  lispPackages should
   be about bringing in a lisp library.
9. Eliminate the hand-maintained list of aliases.  Parasites should
   become aliases.  Everything else should be a real package.
2017-08-31 20:10:18 -07:00
Michael Raskin 7326ab13a9 lispPackages: save more of the require cc-wrapper environment 2017-08-17 17:04:52 +02:00
Michael Raskin bc47794ab5 quicklispPackages: update
Escape things by default in derivation names (i.e. digit cannot be the
first character etc.)

Update Quicklisp (tracking upstream); list new missing dependencies

Add some minimal README about ql-to-nix
2017-06-21 22:17:48 +02:00
Michael Raskin 58d6b50232 lispPackages: load precompiled asdf; support more implementations 2017-04-10 01:10:49 +02:00
Michael Raskin 365e8a7b6a quicklispPackages: update to fresh QuickLisp
lispPackages: reduce environment-bombing
2017-04-06 18:47:36 +02:00
Michael Raskin 623a469653 quicklispPackages, lispPackages: make all system-loads pass with precompilation 2017-04-01 08:08:22 +02:00
Michael Raskin 1e7bad5d51 clwrapper, buildLispPackage: compile fasls and store them for all systems 2017-03-31 22:46:49 +02:00
Michael Raskin 8641a0ace9 quicklisp-to-nix: support / in the system name
Add some more packages
2017-03-30 12:15:50 +02:00
Michael Raskin 12f35b6db7 Allow pre/post-Install 2014-11-16 19:57:12 +03:00
Michael Raskin da303bba58 Handle propagated library inputs for FFI 2014-11-13 11:17:48 +03:00
Michael Raskin 3bda40c150 A few hooks for easier library handling when CFFI is used 2013-10-29 11:29:46 +04:00
Michael Raskin 56f0be1ba1 Adding lisp-packages subset. Adding a few test packages without dependencies. 2013-10-13 10:57:30 +04:00