Roo-Code/flake.nix
Wojciech Kordalski a53206912c
Did you know about https://direnv.net/
It is a nice tool that activates nix flake dev shells when entering project directory.
Unfortunatelly it enters infinite loop when shellHook executes another inner zsh shell.
2025-03-15 11:27:33 +01:00

28 lines
585 B
Nix

{
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; [
nodejs_18
corepack_18
];
};
in {
devShells = forAllSystems (system: {
default = mkDevShell system;
});
};
}