Use Build Configs

This commit is contained in:
Oliver Davies 2025-10-07 07:51:48 +01:00
parent 882e428053
commit 0e55475d85
4 changed files with 23 additions and 5 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = inputs:
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; };
in
{
devShells.${system}.default =
with pkgs;
mkShell {
buildInputs = [
go
gopls
];
};
};
}