2021-03-26 12:07:18 +00:00
|
|
|
{ lib, newScope, wayfirePlugins }:
|
2020-05-02 19:08:22 +01:00
|
|
|
|
2021-03-26 12:07:18 +00:00
|
|
|
lib.makeExtensible (self: with self; {
|
|
|
|
inherit wayfirePlugins;
|
2020-05-02 19:08:22 +01:00
|
|
|
|
2021-03-26 12:07:18 +00:00
|
|
|
callPackage = newScope self;
|
2020-05-02 19:08:22 +01:00
|
|
|
|
2021-03-26 12:07:18 +00:00
|
|
|
wayfire = callPackage ./. { };
|
2020-05-02 19:08:22 +01:00
|
|
|
|
2021-03-26 12:07:18 +00:00
|
|
|
wcm = callPackage ./wcm.nix {
|
|
|
|
inherit (wayfirePlugins) wf-shell;
|
|
|
|
};
|
2020-05-02 19:08:22 +01:00
|
|
|
|
2021-03-26 12:07:18 +00:00
|
|
|
wrapWayfireApplication = callPackage ./wrapper.nix { };
|
2020-05-02 19:08:22 +01:00
|
|
|
|
2021-03-26 12:07:18 +00:00
|
|
|
withPlugins = selector: self // {
|
|
|
|
wayfire = wrapWayfireApplication wayfire selector;
|
|
|
|
wcm = wrapWayfireApplication wcm selector;
|
2020-05-02 19:08:22 +01:00
|
|
|
};
|
2021-03-26 12:07:18 +00:00
|
|
|
})
|