Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(nix): set gopath for usage by IDEs

Mahyar Mirrashed7600a86dfca8
diff --git a/flake.nix b/flake.nix
index 198da71fe8..cc4cf8d65e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,8 +23,12 @@
env = {
GOROOT = "${pkgs.go}/share/go";
- GOPATH = "$(pwd)/.go";
};
+
+ shellHook = ''
+ export GOPATH="$(pwd)/.go"
+ mkdir -p "$GOPATH"
+ '';
};
};
}