From 7056bcd69e3056b8925666941e9c5a755678e26a Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sat, 22 Jul 2023 16:22:10 -0500 Subject: [PATCH] feat: gitea Signed-off-by: jolheiser --- flake.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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]); }; }); }