go environment setup

This commit is contained in:
Katherina Walshe-Grey 2024-10-28 18:12:11 +00:00
parent 170a116ffb
commit c3c1fe8b3a
2 changed files with 13 additions and 0 deletions

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module git.qenya.tel/qenya/aoc2023
go 1.23.2

10
shell.nix Normal file
View file

@ -0,0 +1,10 @@
let
pkgs = import <nixpkgs> {};
in pkgs.mkShell {
packages = with pkgs; [
go
];
shellHook = ''
export PATH=$PATH:~/go/bin
'';
}