2020-01-12 23:11:02 -08:00
|
|
|
# modules/dev/clojure.nix --- https://clojure.org/
|
|
|
|
#
|
|
|
|
# I don't use clojure. Perhaps one day...
|
|
|
|
|
2020-03-28 22:48:43 -07:00
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
2020-01-12 16:49:07 -08:00
|
|
|
{
|
2020-03-28 22:48:43 -07:00
|
|
|
options.modules.dev.clojure = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.modules.dev.clojure.enable {
|
|
|
|
my.packages = with pkgs; [
|
|
|
|
clojure
|
|
|
|
joker
|
|
|
|
leiningen
|
|
|
|
];
|
|
|
|
};
|
2020-01-12 16:49:07 -08:00
|
|
|
}
|