nix-community / authentik-nix

Nix flake with package, NixOS module and basic VM test for authentik. Trying to provide an alternative deployment mode to the officially supported docker-compose approach. Not affiliated with or officially supported by the authentik project [maintainer=@willibutz]
MIT License
82 stars 18 forks source link

Unable to access python-kadmin #37

Open hmajid2301 opened 3 days ago

hmajid2301 commented 3 days ago

Looks like this repo, https://github.com/authentik-community/python-kadmin was archived on nov 6th and now when I try to update my flake and build it with authentik-nix. I get the following error:

fatal: unable to access 'https://github.com/authentik-community/python-kadmin.git/': .netrc parser error
warning: could not update mtime for file '/home/haseebmajid/.local/cache/nix/gitv3/0k7icr6dp90p3yzfl237y8r0qh3rmq9yw0r5n1xmk57n80j0ma0x/refs/tags/v0.2.0': No such file or directory
error:
       … while evaluating attribute 'nodes'
         at «string»:4:25:
            3|                       (deploy // {
            4|                         nodes = {
             |                         ^
            5|                           inherit (deploy.nodes) "ms01";

       … while evaluating attribute 'ms01'
         at «string»:5:50:
            4|                         nodes = {
            5|                           inherit (deploy.nodes) "ms01";
             |                                                  ^
            6|                         };

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Cannot find Git revision '6f9ce6ee2427e3488b403a900a9211166c7569e1' in ref 'refs/tags/v0.2.0' of repository 'https://github.com/authentik-community/python-kadmin.git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.
🚀 ❌ [deploy] [ERROR] Failed to evaluate deployment data: Evaluation resulted in a bad exit code: Some(1)
Ma27 commented 3 days ago

.netrc parser error

This is probably the culprit. Do you have a .netrc in your root's home? There was a bad curl update (8.11) on nixos-unstable that caused this.

hmajid2301 commented 3 days ago

ohh yes I do! ahh okay so this will eventually get fixed on its own then i assume.