mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-24 16:00:45 -06:00
22 lines
324 B
Nix
22 lines
324 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIfIn;
|
|
cfg = config.oizys.languages;
|
|
nimlangserver = pkgs.callPackage ../../pkgs/nimlangserver { };
|
|
in
|
|
{
|
|
config = mkIfIn "nim" cfg {
|
|
environment.systemPackages =
|
|
with pkgs;
|
|
[
|
|
nim
|
|
nimble
|
|
]
|
|
++ [ nimlangserver ];
|
|
};
|
|
}
|