interpreter-in-go/flake.nix
jmug 4d2b0652da Add a development flake.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-01 15:48:44 -08:00

30 lines
634 B
Nix

{
description = "Dev shell flake with go tools";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
systems.url = "github:nix-systems/default";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
go
gotools
gopls
];
};
}
);
}