refactor(go): set `GOBIN`

main
sgoudham 1 year ago
parent cb609d1e9a
commit 029fd6fc08
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -2,8 +2,9 @@
programs.go.enable = true;
home.sessionVariables = {
GOPATH = "${config.xdg.dataHome}/go";
GOBIN = "${config.home.sessionVariables.GOPATH}/bin";
};
home.sessionPath = [
"${config.home.sessionVariables.GOPATH}/bin"
"${config.home.sessionVariables.GOBIN}"
];
}

Loading…
Cancel
Save