mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-13 19:27:53 -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
|
|
];
|
|
};
|
|
}
|