mirror of
https://codeberg.org/woodpecker-plugins/go-plugin.git
synced 2024-11-10 00:45:38 +01:00
25 lines
498 B
Nix
25 lines
498 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; [
|
|
go_1_22
|
|
gofumpt
|
|
golangci-lint
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|