mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-06 06:17:02 +00:00
2c41e11f2f
Taken from #301 Co-authored-by: Moritz Marquardt <git@momar.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/315
27 lines
468 B
Nix
27 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
|
|
];
|
|
};
|
|
});
|
|
}
|