You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using quicklisp packages is not really convenient currently. I think we could make it a little better with some suble changes.
quicklisp-to-nix shell
A local shell is used to generate expressions for quicklisp packages in the nixpkgs tree. It cannot be copied to a directory and used directly because relative paths are used (lines 2 and 4).
I wonder if all the required dependencies can be included with quicklisp-to-nix. For now at least I rewrote the paths with pkgs.path in a local shell.
generated quicklisp-to-nix.nix
quicklisp-to-nix.nix also uses a relative path ./define-package.nix, so it cannot be used without editing in a local shell.
Perhaps buildLispPackage could be inherited like clwrapper. An absolute path with pkgs.path also works, but does not seem right to me.
quicklisp-to-nix-overrides.nix missing
quicklisp-to-nix-overrides.nix is not created by the generator if no such file exists and has to be manually copied over to the local shell.
The text was updated successfully, but these errors were encountered:
Here I use packages that exist in the pkgs.lispPackages set. They are checked by quicklisp-to-nix and expressions are created, but nix uses the old ones from the tree.
quicklisp-to-nix, when used locally, should check if a requested package already exists in pkgs/development/lisp-modules/quicklisp-to-nix-systems.txt.
ql-to-nix.lisp is edited to check if the requested package exists in the nixpkgs tree and skip it when called with argument --local. top-package.emb is edited to accept buildLispPackage as an argument.
Seems to work, but I have not tested it with something requiring overrides like in quicklisp-to-nix-overrides.nix.
Using quicklisp packages is not really convenient currently. I think we could make it a little better with some suble changes.
quicklisp-to-nix shell
A local shell is used to generate expressions for quicklisp packages in the nixpkgs tree. It cannot be copied to a directory and used directly because relative paths are used (lines 2 and 4).
I wonder if all the required dependencies can be included with
quicklisp-to-nix
. For now at least I rewrote the paths withpkgs.path
in a local shell.generated quicklisp-to-nix.nix
quicklisp-to-nix.nix
also uses a relative path./define-package.nix
, so it cannot be used without editing in a local shell.Perhaps
buildLispPackage
could be inherited like clwrapper. An absolute path withpkgs.path
also works, but does not seem right to me.quicklisp-to-nix-overrides.nix missing
quicklisp-to-nix-overrides.nix
is not created by the generator if no such file exists and has to be manually copied over to the local shell.The text was updated successfully, but these errors were encountered: