mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
akkoma-fe: migrate to pkgs/by-name
This commit is contained in:
parent
aa7d01a8e0
commit
30cbef7dc9
3 changed files with 3 additions and 4 deletions
|
@ -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; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue