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:
efim
2022-07-28 15:38:16 +00:00
parent 89673df888
commit 0b3a788a13
2 changed files with 98 additions and 1 deletions

View File

@@ -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?
}