summary refs log tree commit diff
path: root/pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-03-26 04:15:42 +0200
committerMichael Raskin <7c6f434c@mail.ru>2017-03-29 00:40:01 +0200
commit13007957e5bf8bf31f7c99a054e2f0bdb395e860 (patch)
treefe8e83ef8d0ce5e5dc44595edf7e2811f9aea05a /pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix
parenteb70ae34b1da2894bc60ed0064efd2de068d28ad (diff)
downloadnixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.tar
nixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.tar.gz
nixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.tar.bz2
nixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.tar.lz
nixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.tar.xz
nixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.tar.zst
nixpkgs-13007957e5bf8bf31f7c99a054e2f0bdb395e860.zip
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.
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix')
-rw-r--r--pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix
new file mode 100644
index 00000000000..b1928c5bc77
--- /dev/null
+++ b/pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix
@@ -0,0 +1,20 @@
+{pkgs, buildLispPackage, quicklisp-to-nix-packages}:
+{
+  iterate = x: {
+    overrides = x: {
+      configurePhase="buildPhase(){ true; }";
+    };
+  };
+  cl-fuse = x: {
+    propagatedBuildInputs = [pkgs.fuse];
+    overrides = x : {
+      configurePhase = ''
+        export CL_SOURCE_REGISTRY="$CL_SOURCE_REGISTRY:$PWD"
+        export makeFlags="$makeFlags LISP=common-lisp.sh"
+      '';
+    };
+  };
+  hunchentoot = x: {
+    propagatedBuildInputs = [pkgs.openssl];
+  };
+}