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
71 stars 14 forks source link

v2024.8.1 not building on nipkgs stable #32

Open TuxCoder opened 5 days ago

TuxCoder commented 5 days ago

Hello,

Not sure if this is a bug or simply not supported.

The latest release does not build on the stable nixpkgs channel.

       error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "buildGo123Module" at /nix/store/x0w41dsd2xpgxx29kgpaihmk2bsdpzxd-source/components/gopkgs.nix:4, did you mean "buildGo121Module" or "buildGo122Module"?'

Hier in this file: https://github.com/nix-community/authentik-nix/blob/main/components/gopkgs.nix#L9

because go_1_23 is only in nixpkgs-unstable

If stable branch should not be supported, you can close this issue.

Also thanks for the nice flake!

TuxCoder commented 5 days ago

ah I see, upstream also updated to go1.23 https://github.com/goauthentik/authentik/blob/main/go.mod

probably add a note in the readme that this flake only builds against unstable, as authentik is not really stable yet?