diff --git a/flake.nix b/flake.nix index de3aa00..4e02694 100644 --- a/flake.nix +++ b/flake.nix @@ -11,11 +11,14 @@ } @ inputs: inputs.flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; + simpleShell = packages: + pkgs.mkShell { + nativeBuildInputs = packages; + }; in { devShells = { - gitea-docusaurus = pkgs.mkShell { - nativeBuildInputs = with pkgs; [nodejs gnumake]; - }; + gitea-docusaurus = simpleShell (with pkgs; [nodejs gnumake]); + gitea = simpleShell (with pkgs; [poetry gnumake]); }; }); }