mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 11:44:31 +00:00
JetBrains needs to know the GOROOT environment variables. For the sake of other tooling, we will just set these in the flake rather than only in the `.envrc` file. It also keeps all environment configuration localized to our project flake.
31 lines
604 B
Nix
31 lines
604 B
Nix
{
|
|
description = "Flake for github:Infisical/infisical repository.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }: {
|
|
devShells.aarch64-darwin.default = let
|
|
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
|
|
in
|
|
pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
git
|
|
lazygit
|
|
|
|
go
|
|
python312Full
|
|
nodejs_20
|
|
nodePackages.prettier
|
|
infisical
|
|
];
|
|
|
|
env = {
|
|
GOROOT = "${pkgs.go}/share/go";
|
|
GOPATH = "$(pwd)/.go";
|
|
};
|
|
};
|
|
};
|
|
}
|