akkoma-fe: migrate to pkgs/by-name

This commit is contained in:
Mikael Voss 2025-03-14 14:48:19 +01:00
parent aa7d01a8e0
commit 30cbef7dc9
No known key found for this signature in database
3 changed files with 3 additions and 4 deletions

View file

@ -95,7 +95,7 @@ let
package = mkOption {
type = types.package;
description = "Akkoma frontend package.";
example = literalExpression "pkgs.akkoma-frontends.akkoma-fe";
example = literalExpression "pkgs.akkoma-fe";
};
name = mkOption {
@ -520,7 +520,7 @@ in {
type = with types; attrsOf (submodule frontend);
default = {
primary = {
package = pkgs.akkoma-frontends.akkoma-fe;
package = pkgs.akkoma-fe;
name = "akkoma-fe";
ref = "stable";
};
@ -533,7 +533,7 @@ in {
defaultText = literalExpression ''
{
primary = {
package = pkgs.akkoma-frontends.akkoma-fe;
package = pkgs.akkoma-fe;
name = "akkoma-fe";
ref = "stable";
};

View file

@ -931,7 +931,6 @@ with pkgs;
});
};
akkoma-frontends = recurseIntoAttrs {
akkoma-fe = callPackage ../servers/akkoma/akkoma-fe { };
admin-fe = callPackage ../servers/akkoma/admin-fe {
nodejs = nodejs_18;
yarn = yarn.override { nodejs = nodejs_18; };