pinwheel: Fix go ENV variables
This commit is contained in:
1 parent
aada581109
commit
942c5453b2
2 files changed
+6
-2
No files matched your search
@@ -20,7 +20,9 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
package = pkgs.go;
|
package = pkgs.go;
|
||||||
goPath = "code/go";
|
env = {
|
||||||
|
GOPATH = "code/go";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|||||||
@@ -36,7 +36,9 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
programs.go = lib.mkIf goEnabled {
|
programs.go = lib.mkIf goEnabled {
|
||||||
goPrivate = [ "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.work-go-private.path})" ];
|
env = {
|
||||||
|
GOPRIVATE = [ "$(${pkgs.coreutils}/bin/cat ${config.age.secrets.work-go-private.path})" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = lib.mkIf gitEnabled {
|
programs.git = lib.mkIf gitEnabled {
|
||||||
|
|||||||
Reference in new issue
Block a user