0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 07:57:29 +01:00
gitea/flake.nix

39 lines
736 B
Nix
Raw Permalink Normal View History

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
# generic
git
git-lfs
gnumake
gnused
gnutar
gzip
# frontend
nodejs_22
# linting
python312
poetry
# backend
gofumpt
2024-07-12 18:25:54 +02:00
sqlite
];
};
}
);
}