mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 09:49:37 +08:00
38 lines
717 B
Nix
38 lines
717 B
Nix
|
{
|
||
|
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_20
|
||
|
|
||
|
# linting
|
||
|
python312
|
||
|
poetry
|
||
|
|
||
|
# backend
|
||
|
go_1_22
|
||
|
];
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|