Commit Graph

227 Commits

Author SHA1 Message Date
Michael Raskin
cd77f69ec8 lispPackages: fix build 2019-11-22 17:41:46 +01:00
John Ericson
0b90a7f67f lispPackages.clwrapper: NIX_LISP_LD_LIBRARY_PATH might be undefined 2019-11-08 13:24:20 -05:00
Antoine Eiche
92119cd96a lispPackages: add cl-prevalence and cl-hooks 2019-10-10 10:08:35 +02:00
Joachim Fasting
b8193bd0b0
lispPackages.cl-mysql: fix build
For [ZHF](https://github.com/NixOS/nixpkgs/issues/68361)
2019-10-05 23:22:23 +02:00
Michael Raskin
98ddcfe794 A band-aid workaround for 68384. The situation should not be possible, not clear whether there is a missed detail about ASDF or SBCL 2019-09-30 18:26:08 +02:00
Vladimír Čunát
eab41878ac
Merge branch 'master' into staging-next 2019-09-24 08:14:34 +02:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Antoine Eiche
6309561d39 lispPackages: add 11 packages
The following packages has been added:
- cl-css
- dbus
- log4cl
- mk-string-metrics
- prove-asdf
- sqlite
- str
- swank
- trivia
- trivial-clipboard
- unix-opts
2019-09-11 09:18:27 +02:00
Antoine Eiche
70ca8dab45 lispPackages.iolib: patch lisp files to use the libfixposix library 2019-09-11 09:18:26 +02:00
Izorkin
329a88efa7 treewide: replace mysql.connector-c to libmysqlclient 2019-09-09 15:55:34 +03:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk
98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
Michael Raskin
e6878f36d8 lispPackages: update to Quicklisp release 2019-07-11
Fixes:

Survive empty ASDF description (UIOP)
Patch "split-sequence" that misses :serial
2019-08-25 22:53:27 +03:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
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
R. RyanTM
bd31f06d87 asdf: 3.3.2 -> 3.3.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/asdf/versions
2019-07-14 22:05:31 -07:00
Michael Raskin
83cb84ebc3 lispPackages.stumpwm: mimic Query-FS tricks for adding extra deps 2019-03-25 13:29:45 +01:00
Michael Raskin
19d817c5ec lispPackages.lfarm-*: init from Quicklisp 2019-03-03 13:54:08 +01:00
Michael Raskin
1cfa5a72e2 Add lparallel 2019-02-28 22:15:32 +01:00
Vladimír Čunát
8ba516664b
Merge branch 'staging-next' into staging 2019-02-01 09:42:53 +01:00
Michael Raskin
2e76049491 lispPackages.quicklisp.quicklispdist: 2018-08-31 -> 2019-01-07 2019-01-31 07:21:30 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Philippe
f03c9c25ac Add cl-jpeg, cl-pdf & cl-typesetting, no extra external deps 2018-12-05 07:01:40 +01:00
Michael Raskin
5048b0d1f9 lispPackages.quicklisp: 2018-04-30 -> 2018-08-31 ; regenerate packages
Added a wrapper package that creates symlinks to OpenSSL libraries with
the actual versions, because we have 1.0.2 with .so-suffix .1.0.0 and
cl-async-ssl is unhappy because of that.

I continue to dislike cl-postgres and simple-date upstream packaging.
2018-09-12 11:52:43 +03:00
Jörg Thalheim
218298b30f
Merge branch 'master' into unused5 2018-07-21 15:41:22 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
dda95bae35 [bot] treewide: remove unused 'args@' in lambdas 2018-07-20 19:54:05 +00:00
volth
87f5930c3f [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
Michael Raskin
cd7bfa6f48 lispPackages: drop pgloader that leads to a circular depedency 2018-05-30 23:42:33 +02:00
Michael Raskin
a4867b30d1 lispPackages.quicklisp: 2018-01-31 -> 2018-04-30; regenerate packages 2018-05-30 19:33:27 +02:00
R. RyanTM
1d58435501 asdf: 3.3.1 -> 3.3.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/asdf/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.3.2 with grep in /nix/store/mcks1swd685sksr4yjrsyfhphzcrw9nk-asdf-3.3.2
- directory tree listing: https://gist.github.com/3a13d7343736c1454dc2701b3ea3009f
2018-05-07 05:20:34 -07:00
xeji
a13945e1a2 lispPackages.postmodern: mark as broken 2018-04-12 23:04:01 +02:00
Michael Raskin
ea299bdca8 lispPackages.xembed: init 2018-02-26 11:17:36 +01:00
Michael Raskin
140b163602 lispPackages: add a few more, escape + 2018-02-25 18:10:58 +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
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
fb8379cc76 lispPackages, lispPackages.quicklisp-to-nix: 2017-07-25 -> 2018-01-31
* update Quicklisp distinfo
* regenerate packages
* add cl-html-parse and closure-html
* add proper mariadb library path to fix cl-mysql
* escape memoization filenames for systems
* lispPackages.cl-postgres: keep simple-date in the same package
2018-02-12 20:45:33 +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
Michael Raskin
32925f082b lispPackages: deduplicate dynamical library search path 2018-01-27 21:59:19 +01:00
John Ericson
4d2b763817
Merge pull request #26805 from obsidiansystems/cross-elegant
Make cross compilation elegant
2017-12-30 22:58:02 -05: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
Izorkin
2bbb4810f4 lisp-modules: mysql -> mysql.connector-c 2017-12-29 02:18:35 +01:00
Robin Gloster
572b2bda4e treewide: generalise for both mysql & mariadb 2017-12-29 02:18:35 +01:00
Robin Gloster
d75ae56f3f mariadb: replace to connector-c 2017-12-29 02:18:35 +01:00
Michael Raskin
1d7f90cba2 quicklisp-to-nix: update after fixes to our ASDF handling suggested by upstream 2017-12-19 17:55:22 +01:00
Michael Raskin
e618aad27e lispPackages.cl-fuse: compile the small wrapper library manually, because for some reason NIX_LDFLAGS get lost with the new binutils wrapper 2017-12-19 16:43:18 +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
0fe9606967 asdf: 3.3.0 -> 3.3.1 2017-11-20 10:46:05 +01:00
Michael Raskin
cd06d23ccb asdf: 3.2.0 -> 3.3.0 2017-11-11 15:31:43 +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
Brad Jensen
0a4704bd19 lispPackages.cl-protobufs: init at 20170403-git 2017-09-27 09:07:26 -07:00
Michael Raskin
8343a6c7a5 lispPackages.clsql-sqlite3: init 2017-09-07 11:40:06 +02:00
Michael Raskin
f01f86c5ca lispPackages.query-fs: Kill build-with-lisp.sh reference 2017-09-04 21:39:07 +02:00
Michael Raskin
674c3c6bdd lispPackages: add clsql-postgresql* 2017-09-04 21:39:07 +02:00
Michael Raskin
e0771b0a04 quicklisp-to-nix: make it possible to run with Nix sandboxing enabled 2017-09-04 21:39:07 +02:00
Brad Jensen
d1e11cd41e Regenerate quicklisp-to-nix
Note: Changes to overrides were necessary
2017-08-31 20:10:19 -07:00
Brad Jensen
acd05c506d Update the ql-to-nix readme 2017-08-31 20:10:19 -07:00
Brad Jensen
d11ab25060 Add ql-to-nix programs to the ql-to-nix shell.nix 2017-08-31 20:10:18 -07:00
Brad Jensen
8f03f38ab1 Move esrap-peg into the normally defined packages 2017-08-31 20:10:18 -07:00
Brad Jensen
ebb5d33e93 Move xkeyboard into the normally defined packages 2017-08-31 20:10:18 -07: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
efc95339c0 Do an ASDF build of StumpWM in quicklisp-converted version 2017-08-18 02:22:04 +02:00
Michael Raskin
1ec12e2016 paper over more dependency issues 2017-08-17 21:49:39 +02:00
Michael Raskin
6694abdc31 Merge pull request #27829 from bradleyjensen/update-quicklisp
Update quicklisp packages
2017-08-17 21:37:29 +02:00
Michael Raskin
7326ab13a9 lispPackages: save more of the require cc-wrapper environment 2017-08-17 17:04:52 +02:00
Brad Jensen
e73e1aa64d Add some new packages and regenerate quicklisp-to-nix 2017-08-01 18:50:15 -07:00
Brad Jensen
85b57b524d Use a more recent version of quicklisp 2017-08-01 18:47:26 -07:00
Brad Jensen
adeaaf0f54 Work around quicklisp not knowing all dependencies 2017-08-01 18:47:25 -07:00
Michael Raskin
338be9dbd4 Fresh SBCL is not compatible with not-fresh iolib 2017-06-28 22:18:25 +02:00
Michael Raskin
744bdac78e Re-add iolib subsystems 2017-06-22 09:31:41 +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
851b584581 compile uiop/version with uiop, seems needed for monolithic bundles in some cases 2017-04-16 19:25:48 +02:00
Michael Raskin
f12bd6e9b6 lispPackage.iolib: missed one system 2017-04-10 10:09:22 +02:00
Michael Raskin
08abe4fe93 lispPackage.iolib: list the hidden systems to make sure bundles exist 2017-04-10 09:57:17 +02:00
Michael Raskin
58d6b50232 lispPackages: load precompiled asdf; support more implementations 2017-04-10 01:10:49 +02:00
Michael Raskin
917ecc2390 lispPackages.iolib: precompile iolib/os 2017-04-09 23:48:24 +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
739ecca4b5 esrap-peg: 20131029 -> 20170320 2017-03-31 17:56:35 +02:00
Michael Raskin
02f58311ec lispPackages: migrate to quicklispPackages where possible 2017-03-31 12:06:46 +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
0f69573731 quicklispPackages: add a basic set of packages, make sure that quicklispPackages_asdf_3_1 can be built completely 2017-03-30 22:55:26 +02:00
Michael Raskin
5032d477a0 quicklisp-to-nix: check that the package is loadable 2017-03-30 22:55:26 +02:00
Michael Raskin
6f904bd9ec clwrapper: setup-hook: correctly handle multiple additions to registry 2017-03-30 22:55:26 +02:00
Michael Raskin
5d83ef6a91 quicklispPackages.iolib: try loading the system 2017-03-30 13:01:30 +02:00
Michael Raskin
953fc6c0a0 clwrapper: better support for ensuring noninteractive execution 2017-03-30 13:00:43 +02:00
Michael Raskin
c1f922b0b5 asdf: add pinned versions 2.26, 3.1; provide quicklispPackages with ASDF 3.1 2017-03-30 12:59:40 +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
1258bf9d2c lispPackages.clwrapper: allow to replace the code to load ASDF 2017-03-29 22:30:12 +02:00
Michael Raskin
1af70c331c Add a couple of quicklisp packages 2017-03-29 19:40:42 +02:00
Michael Raskin
13007957e5 quicklispPackages: init
The idea is to have an almost-automatic conversion from QuickLisp, the
definitive Common Lisp package repository, to Nix. The benefit over just
using lispPackages.quicklisp is automatic installation of non-Lisp
dependencies from NixPkgs (and integration with Nix package management).
The benefit over lispPackages for normal Lisp packages is packaging just
a snapshot of QuickLisp which is known to be tested for version
compatibility between libraries.

There are some packages in lispPackages that are not from QuickLisp (for
example, the installable wrapper of QuickLisp itself). My hope is to
replace the rest with the expressions converted from QuickLisp.

Note that the current commit is a mere addition.
2017-03-29 00:40:01 +02:00
Michael Raskin
64666a402f lispPackages.clx: git-20150117 -> git-20170201 2017-02-05 13:03:03 +01:00
Michael Raskin
68995874be asdf: 3.1.7 -> 3.2.0 2017-02-01 19:28:45 +01:00
Michael Raskin
eddd227465 asdf: 3.1.6 -> 3.1.7 2016-09-26 15:49:30 +02:00