Due to a recent change in Nixpkgs, the version field is required for the sway package.
test.stubs
This option provides a more convenient way to overlay dummy packages. It also adds a function `config.lib.test.mkStubPackage` that can, e.g., be used for `package` options.