Hi guys. Is there a right way to add optional package, like openvpn3 (for resolved) to the binary cache? I’m using resolved, which means I need to build this package because it is overridden in the module.
Now I have the same problem with swayfx. After that PR which adds support for packages with arguments like the standard package to override them and apply the module options.
At this point, I see two ways how this is happening:
Sway has an argument isNixOS = false, but after overriding by the module, the package is still present in the binary cache. I attribute it to the module tests.
Some optional packages are defined in all-packages, which adds them to the cache.
But I think both of these options look weird in my case. Maybe I’m missing something?