mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
13007957e5
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.
21 lines
470 B
Nix
21 lines
470 B
Nix
{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];
|
|
};
|
|
}
|