go environment setup
This commit is contained in:
parent
170a116ffb
commit
c3c1fe8b3a
2 changed files with 13 additions and 0 deletions
10
shell.nix
Normal file
10
shell.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
in pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
go
|
||||
];
|
||||
shellHook = ''
|
||||
export PATH=$PATH:~/go/bin
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue