go/flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/b6c8664de9b6cc07fe5666a29f91884ba81197c4?narHash=sha256-641r7xrlSOHYoktL9/aArPIYNgZJ9eM5URzSEOtPJDY%3D' (2026-09-29)
→ 'github:NixOS/nixpkgs/55ba7f49ef2962b42cbd126522b7df5f95037679?narHash=sha256-sm6DclXJudZfP/pcDBQQsRqyMxBcQsuw%2B7yQr4rBBLE%3D' (2026-10-02)
30 lines
609 B
Nix
30 lines
609 B
Nix
{
|
|
description = "Go Flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, flake-utils, nixpkgs }:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
go golangci-lint
|
|
opentofu terraform
|
|
|
|
#(jetbrains.plugins.addPlugins jetbrains.goland [])
|
|
];
|
|
|
|
shellHook = ''
|
|
go version
|
|
'';
|
|
};
|
|
});
|
|
}
|
|
|