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
volth
52f53c69ce
pkgs/*: remove unreferenced function arguments
2018-07-21 02:48:04 +00:00
Michael Raskin
a035714be9
lispPackages: remove trailing colon from {NIX_LISP_,}LD_LIBRARY_PATH
2018-02-25 18:10:58 +01:00
Michael Raskin
0ac5af9f3a
lispPackages.clwrapper: patching the second shebang, because source builtin is used
2018-02-17 22:31:18 +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
8818546d48
lispPackages.clwrapper: recognise CCL in setup-hook
2018-02-01 19:07:19 +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
John Ericson
046f091e0d
treewide: Don't use envHook anymore
...
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05: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
eafd703a63
lispPackages.clwrapper: make sure to patch shebangs in the scripts before using them
2017-11-04 12:46:56 +01:00
Michael Raskin
851b584581
compile uiop/version with uiop, seems needed for monolithic bundles in some cases
2017-04-16 19:25: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
f10fc5a13c
lispPackages.clwrapper: fix array expansion to produce no arguments when empty
2017-03-31 11:17:19 +02:00
Michael Raskin
6f904bd9ec
clwrapper: setup-hook: correctly handle multiple additions to registry
2017-03-30 22:55:26 +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
b15b9b0ede
clwrapper: build-with-lisp.sh: asdf/image package is now uiop/image
2016-09-26 15:49:29 +02:00
Michael Raskin
511ad5e5bf
quicklisp (lispPackages.quicklisp): init
2016-03-25 17:58:05 +01:00
Michael Raskin
98e8696290
Do not default to SBCL for wrapped non-SBCL lisp implementation
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
0f28ce0ad8
Update argument list after image restoreon SBCL
2014-11-16 19:57:12 +03:00
Michael Raskin
58e27a257e
Fix SBCL binary building with saved library path
2014-11-16 19:57:12 +03:00
Michael Raskin
83999a0a84
Fix CLisp support in executable building
2014-11-15 15:40:45 +03:00
Michael Raskin
1bfe4e59c2
Install the builder script
2014-11-15 15:40:45 +03:00
Michael Raskin
82a4776bf9
Add support for creation of executables with SBCL — hacks are for shared libraries
2014-11-15 15:40:45 +03:00
Vladimír Čunát
b4af993c3f
Merge branch 'master' into staging
...
Conflicts (simple):
pkgs/development/lisp-modules/clwrapper/setup-hook.sh
2014-11-14 14:28:23 +01: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
ce8f37430f
Fix envHooks setting: don't kill previous hooks
2014-11-12 16:58:22 +03:00
Eelco Dolstra
e3f7dbbac8
Cleanup: Use += to append to envHooks
2014-08-09 12:47:05 +02:00
Vladimír Čunát
161d029d7d
preferLocalBuild: set to true for wrappers and fetchers
2014-02-10 21:04:17 +01: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
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