akkoma-fe: migrate to pkgs/by-name
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user