mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Run integration tests in CI
This commit is contained in:
33
flake.nix
Normal file
33
flake.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
description = "Roo Code development environment";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }: let
|
||||
systems = [ "aarch64-darwin" "x86_64-linux" ];
|
||||
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
mkDevShell = system: let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in pkgs.mkShell {
|
||||
name = "roo-code";
|
||||
|
||||
packages = with pkgs; [
|
||||
zsh
|
||||
nodejs_18
|
||||
corepack_18
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
exec zsh
|
||||
'';
|
||||
};
|
||||
in {
|
||||
devShells = forAllSystems (system: {
|
||||
default = mkDevShell system;
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user