2020-02-01 23:16:36 -08:00
|
|
|
# modules/dev/common-lisp.nix --- https://common-lisp.net/
|
|
|
|
#
|
|
|
|
# Mostly for my stumpwm config, and the occasional dip into lisp gamedev.
|
|
|
|
|
2020-03-28 22:48:43 -07:00
|
|
|
{ config, options, lib, pkgs, ... }:
|
2020-10-01 15:46:04 -07:00
|
|
|
|
2020-03-28 22:48:43 -07:00
|
|
|
with lib;
|
2020-10-01 15:46:04 -07:00
|
|
|
with lib.my;
|
|
|
|
let cfg = config.modules.dev.common-lisp;
|
|
|
|
in {
|
2020-03-28 22:48:43 -07:00
|
|
|
options.modules.dev.common-lisp = {
|
2020-10-01 15:46:04 -07:00
|
|
|
enable = mkBoolOpt false;
|
2020-03-28 22:48:43 -07:00
|
|
|
};
|
|
|
|
|
2020-10-01 15:46:04 -07:00
|
|
|
config = mkIf cfg.enable {
|
|
|
|
user.packages = with pkgs; [
|
2020-03-28 22:48:43 -07:00
|
|
|
sbcl
|
|
|
|
lispPackages.quicklisp
|
|
|
|
];
|
|
|
|
};
|
2020-01-23 17:38:14 -08:00
|
|
|
}
|