Add control4 env

This commit is contained in:
Arnie 2024-10-02 21:10:08 +02:00
parent 25557e17db
commit eb4fcc1524

View File

@ -12,6 +12,11 @@
outputs = { self, nixpkgs, devshell }:
let
systems = nixpkgs.lib.genAttrs [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
control4_env = rec {
lua = nixpkgs.lua5_1;
lua_busted = nixpkgs.lua51Packages.busted;
node = nixpkgs.nodejs_22;
};
in
{
lib = {
@ -28,6 +33,8 @@
golangci-config-file = ./.golangci.yml;
cd_root = "cd $PRJ_ROOT;";
control4_env = control4_env;
};
formatter = self.lib.forAllSystems (pkgs: pkgs.nixpkgs-fmt);