mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-10 00:43:15 -06:00
19 lines
283 B
Nix
19 lines
283 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIfIn;
|
|
cfg = config.oizys.languages;
|
|
rocPkgs = inputs.roc.packages.${pkgs.system};
|
|
in
|
|
{
|
|
config = mkIfIn "roc" cfg {
|
|
environment.systemPackages = with rocPkgs; [
|
|
full # cli + lang_server
|
|
];
|
|
};
|
|
}
|