From eb4fcc1524cd17c317880ad74e8be2c8cc1f0524 Mon Sep 17 00:00:00 2001 From: Arnie Date: Wed, 2 Oct 2024 21:10:08 +0200 Subject: [PATCH] Add control4 env --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 4fe00f7..39c617d 100644 --- a/flake.nix +++ b/flake.nix @@ -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);