ci(nix): Add CI shell

This commit is contained in:
2025-12-30 10:25:44 +01:00
parent b6af70c8ca
commit 9876d5bec5
+13
View File
@@ -41,10 +41,23 @@ pkgs.mkShellNoCC {
]
++ checks.enabledPackages;
# Environment variables
ARGOCD_ENV_CLUSTER_NAME = "hel1";
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
shellHook = builtins.concatStringsSep "\n" [
checks.shellHook
];
# Alternative shells
passthru = pkgs.lib.mapAttrs (name: value: pkgs.mkShellNoCC (value // { inherit name; })) {
ci-shell = {
packages = [
pkgs.npins
];
shellHook = ''
export NPINS_DIRECTORY="nix"
'';
};
};
}