New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depending on a lisp package in lispPackages doesn't make the package's asd files available to ASDF #35306
Comments
There are three questions here, I guess. The motivation for the chage was provided by upstream
or
(these two are basically the same command).
|
Ah! Excellent! How do other compiler toolchains work? Do they have an unwrapped compiler and a wrapped compiler? I mean, at some level they must have an unwrapped compiler (gotta wrap something!), but is the unwrapped compiler exposed as a top-level package like SBCL? I'm still pretty new to nix -- sorry if this is a basic question. |
Frankly, Lisp support in Nixpkgs is quite immature, and your work has been a significant step forward.
(Thanks again for your efforts)
GCC is built as an unwrapped compiler, which is accessible as `gcc.cc` package, then wrapped with `wrapGCC` to obtain the top-level `cc`.
With GHC my understanding is that it is recommended to use `ghcWithPackages` expression that builds a package-set-specific wrappers.
Actually, the current clwrapper package has a property that makes little sense for many other languages: it is possible, although sometimes annoying, to write code that will handle lisp packages correctly on multiple Lisp implementations.
|
Got it. As I mentioned back in #32344, I've been thinking about something like sbclWithPackages as a solution for pre-compilation issues. |
Reviving this because there are so few posts about CLISP on NixOS and this took me a really long time to debug. Hopefully it saves someone. My dirty solution to use
I swear that this is what |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Still important to me |
This really should be in the documentation somewhere, even if its just a work around for the moment. I have no idea what |
FYI for anyone who comes after. I got SLIME to work through nix-shell in a thoroughly hacky way:
If you have the this in your ; SLIME 2.26.1
CL-USER> (ql:quickload '("hunchentoot"))
To load "hunchentoot":
Load 1 ASDF system:
hunchentoot
; Loading "hunchentoot"
.
("hunchentoot") and see that ;; shell.nix
let
description = "A very basic flake";
pkgs = import <nixpkgs> { system = "x86_64-linux"; };
in
with pkgs;
mkShell {
buildInputs = [sbcl lispPackages.hunchentoot];
} Any suggestions for a better way appreciated. |
I marked this as stale due to inactivity. → More info |
Issue description
I have a simple derivation that depends on some lispPackages. Here's a distilled version.
Before 4db842f, I could run nix-shell and the following command would work.
Post 4db842f, the above command does not successfully load fset.
Technical details
The text was updated successfully, but these errors were encountered: