Commit graph

16 commits

Author SHA1 Message Date
Brad Jensen 16e70997a8 Use if instead of && for deciding whether to run a command
The only difference between these forms is the return value when
"$NIX_LISP_SKIP_CODE" is the empty string.  In the original
formulation, the script would return a false exit status.  In the new
formulation, it will return a true exit status.

Its useful to be able to source cl-wrapper.sh (to get the variables it
establishes), and its a bit annoying that sourcing it with
NIX_LISP_SKIP_CODE=1 results in a false exit status.
2019-07-24 09:35:27 -07:00
Brad Jensen fa7bd53d0d Resolve symlinks before trying to recognize a lisp implementation
The CCL package installs a symlink named "ccl" that points at the
actual implementation executable: lx86cl64 (or lx86cl for 32 bit).
When clwrapper is used with CCL as the backing implementation, this
script fails to recognize the implementation.  By resolving the
symlink, we are able to recognize which implementation we're actually
working with.
2019-07-24 09:35:27 -07:00
Michael Raskin a035714be9 lispPackages: remove trailing colon from {NIX_LISP_,}LD_LIBRARY_PATH 2018-02-25 18:10:58 +01:00
Michael Raskin 8de132f52d lispPackages.clwrapper: use bash as the wrapper shell to make sure arays are supported 2018-02-17 21:06:38 +01:00
Michael Raskin 4c379dbbdd lispPackages.clwrapper: Fix a typo in dynamic-library-hack 2018-02-01 21:32:21 +01:00
Michael Raskin 0a70f37275 lispPackages.clwrapper: build helper; saving dynamic library search path from NIX_LISP_ 2018-01-29 15:15:51 +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
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 f10fc5a13c lispPackages.clwrapper: fix array expansion to produce no arguments when empty 2017-03-31 11:17:19 +02:00
Michael Raskin 953fc6c0a0 clwrapper: better support for ensuring noninteractive execution 2017-03-30 13:00:43 +02:00
Michael Raskin 1258bf9d2c lispPackages.clwrapper: allow to replace the code to load ASDF 2017-03-29 22:30:12 +02:00
Michael Raskin 511ad5e5bf quicklisp (lispPackages.quicklisp): init 2016-03-25 17:58:05 +01:00
Michael Raskin 43f227d577 Add default for ASDF in clwrapper 2015-04-14 11:52:23 +03:00
Michael Raskin 4beebeb6b3 Make LD_LIBRARY_PATH available during build like during later usage 2014-11-13 11:17:48 +03:00
Michael Raskin d44439d03e Adding a Common Lisp wrapper.
Features:
  + configurable via environment variables
  + can skip the actual launching of the lisp implementation (source it
  with NIX_LISP_SKIP_CODE=1 to get all the settings)
  + currently supports SBCL, CLisp, ECL
  + determines lisp implementation from NIX_LISP_COMMAND variable or
  from buildInputs
  + sets ASDF search path for packages using buildInputs
2013-10-13 10:45:07 +04:00