1 { symlinkJoin, lib, makeWrapper, wayfire, plugins ? [ ] }:
4 name = "wayfire-wrapped-${lib.getVersion wayfire}";
6 nativeBuildInputs = [ makeWrapper ];
13 for binary in $out/bin/*; do
15 --prefix WAYFIRE_PLUGIN_PATH : $out/lib/wayfire \
16 --prefix WAYFIRE_PLUGIN_XML_PATH : $out/share/wayfire/metadata
20 preferLocalBuild = true;
22 passthru = wayfire.passthru // {
26 meta = wayfire.meta // {
27 # To prevent builds on hydra
29 # prefer wrapper over the package
30 priority = (wayfire.meta.priority or lib.meta.defaultPriority) - 1;