mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-27 14:10:45 -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
|
|
];
|
|
};
|
|
}
|