Browse Source

Add nix shell environment

master
Elis Hirwing 6 months ago
parent
commit
089ce6fdaa
Signed by: Elis Hirwing <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F
2 changed files with 11 additions and 0 deletions
  1. 2
    0
      .envrc
  2. 9
    0
      shell.nix

+ 2
- 0
.envrc View File

@@ -0,0 +1,2 @@
use nix
export GOPATH=$(pwd)/vendor/

+ 9
- 0
shell.nix View File

@@ -0,0 +1,9 @@
with (import <nixpkgs> {});

mkShell {
buildInputs = [
gnumake
go
gocode
];
}

Loading…
Cancel
Save