learning to add quicklisp to flake
and non CL dependencies without which nix-store SBCL isn't able to install pakcages
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -7,10 +7,24 @@
|
||||
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = [ pkgs.sbcl pkgs.inotify-tools ];
|
||||
buildInputs = [
|
||||
pkgs.sbcl
|
||||
|
||||
# for koans
|
||||
pkgs.inotify-tools
|
||||
|
||||
# for CLOG
|
||||
pkgs.openssl
|
||||
pkgs.sqlite
|
||||
];
|
||||
shellHook = ''
|
||||
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath([pkgs.openssl])}:${pkgs.lib.makeLibraryPath([pkgs.sqlite])}
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
# see https://serokell.io/blog/practical-nix-flakes
|
||||
|
||||
# welp, I would be able to reference store paths here, yup
|
||||
# but what's the actual way to do that?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user