14 Commits
Author SHA1 Message Date
Jeremy Fleischman 2b115ef0cc doc: update references to nixfmt-rfc-style to treefmt
This completes https://github.com/NixOS/nixpkgs/issues/425583.

Rather than putting `nixfmt` everywhere, I opted to teach people to use
`treefmt` instead. This is more correct, as we have formatting rules for
non-nix files, and also may invoke `nixfmt` with non-default options.
2026-02-07 13:59:27 -08:00
Alexander Ben Nasrallah ca7d34e71b lisp-modules: Fetch systems over HTTPS
quicklisp does not support TLS (https://github.com/quicklisp/quicklisp-client/issues/167)
and therefore lists release with http in release.txt.

Since nixpkgs uses `fetchzip` we can change the source to be fetched
over HTTPS.
2025-07-23 22:18:24 +02:00
Kasper Gałkowski 7992efedf0 lisp-modules: add nixfmt step
Recently the imported.nix file was re-formatted using nixfmt. Adding that step
to the QL import script, to keep up the spirit. Keeps diffs smaller.
2025-07-13 21:40:07 +02:00
Kasper Gałkowski b43c292077 lisp-modules: detect circular dependencies during quicklisp import
Quicklisp's October 2024 release had such a problem between the new packages qvm
and cl-quil. It caused an issue with the "nixpkgs-review" tool because the Nix
interpreter was stopping with an error due to too much recursion.
2024-12-07 02:46:47 +01:00
Kasper Gałkowski 1d2124626c lisp-modules: skip broken systems that don't evaluate from import
cl-quil and qvm are bugged on quicklisp 2024-10-12
2024-10-21 01:17:59 +02:00
Kasper Gałkowski 19c055c078 sbclPackages.jzon: use up to date version from quicklisp
In the meantime jzon had a 1.0.0 release and was added to quicklisp.
2024-06-05 18:14:34 +02:00
Kasper GałkowskiandKasper Gałkowski 0d84933bfe sbcl.pkgs: update to Quicklisp dist from June 2023 2023-07-14 21:37:56 +02:00
Kasper Gałkowski 44b62979c7 lisp-modules: reduce number of packages build on Hydra 2023-04-05 17:11:55 +02:00
Kasper Gałkowski 84eea85ad9 lisp-modules: use wrapLisp to wrap Lisps
The previous approach of manually repeating a complex pattern inside Common Lisp
implementation package declarations was fragile and hard to change. After
reading python and lua modules code in Nixpkgs, I was able to come up with
something better.

The function `wrapLisp` doesn't need to be inside package declarations so all
the code for wrapping Lisps can be in `all-packages.nix`.

This works by wrapping the `override` function created from `mkDerivation` to
accept a new argument `packageOverrides`.

One problem with this is that `override.__functionArgs` disappears. But one can
look at the source code of a package to discover what can be overridden.
2023-03-11 15:11:38 +01:00
Kasper Gałkowski 653ba45834 sbclPackages.math: fix build
There was a compile-time pathname into the home directory. It was patched to be
a function that works on run-time.
2023-03-10 20:13:54 +01:00
Kasper Gałkowski a0bdaf345b lisp-modules: replace "_" in package names with "__" for reversibility 2023-03-10 20:10:39 +01:00
Kasper Gałkowski 092acca8b3 lisp-modules: make ql-import.lisp automatically pull the latest Quicklisp dist 2023-03-02 19:04:47 +01:00
Kasper Gałkowski 5f2e4cf4be sbclPackages.hu_dot_dwim_dot_graphviz: fix build
hu.dwim.graphviz didn't build because of lack of graphiz in nativeLibs
2023-03-02 19:04:47 +01:00
Kasper Gałkowski 9e860e41eb lisp-modules: init
From https://github.com/Uthar/nix-cl
Commit ebeb76057abf01029067f1ebe0ae6fae90848bfe
2023-03-02 19:04:47 +01:00