mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-30 16:45:27 +00:00
2c41e11f2f
Taken from #301 Co-authored-by: Moritz Marquardt <git@momar.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/315
28 lines
468 B
Nix
28 lines
468 B
Nix
{
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
flake-utils,
|
|
systems,
|
|
}:
|
|
flake-utils.lib.eachSystem (import systems)
|
|
(system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
gcc
|
|
go
|
|
gofumpt
|
|
golangci-lint
|
|
gopls
|
|
gotools
|
|
go-tools
|
|
sqlite-interactive
|
|
];
|
|
};
|
|
});
|
|
}
|