1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/pkgs/nyastodon/default.nix

29 lines
466 B
Nix
Raw Normal View History

{
callPackage,
mastodon,
patches ? [],
2024-04-16 22:17:16 +02:00
}:
let
src = callPackage ./source.nix {
inherit patches;
2024-04-16 22:17:16 +02:00
};
yarn-deps = callPackage ./yarn.nix {
inherit src;
hash = src.yarnHash;
2024-04-16 22:17:16 +02:00
};
nyastodon = mastodon.override {
pname = "nyastodon";
srcOverride = src;
gemset = ./gemset.nix;
2024-04-16 22:17:16 +02:00
};
modules = callPackage ./modules.nix {
inherit nyastodon yarn-deps;
2024-04-16 22:17:16 +02:00
};
in
nyastodon.overrideAttrs (_: {
mastodonModules = modules;
})