feat: gitea

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-07-22 16:22:10 -05:00
parent 93e73ec6b7
commit 7056bcd69e
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 6 additions and 3 deletions

View File

@ -11,11 +11,14 @@
} @ inputs: } @ inputs:
inputs.flake-utils.lib.eachDefaultSystem (system: let inputs.flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
simpleShell = packages:
pkgs.mkShell {
nativeBuildInputs = packages;
};
in { in {
devShells = { devShells = {
gitea-docusaurus = pkgs.mkShell { gitea-docusaurus = simpleShell (with pkgs; [nodejs gnumake]);
nativeBuildInputs = with pkgs; [nodejs gnumake]; gitea = simpleShell (with pkgs; [poetry gnumake]);
};
}; };
}); });
} }