Problem
Using lib.getExe xdg-open produces a deprecation warning:
evaluation warning: getExe: Package "xdg-utils-1.2.1" does not have
the meta.mainProgram attribute...
xdg-utils is a multi-binary package without a main program.
Fix
In lib/rust.nix and lib/wasm.nix, change:
# from:
lib.getExe xdg-open
# to:
lib.getExe' xdg-open "xdg-open"
This explicitly names the binary instead of relying on meta.mainProgram.
## Problem
Using `lib.getExe xdg-open` produces a deprecation warning:
evaluation warning: getExe: Package "xdg-utils-1.2.1" does not have
the meta.mainProgram attribute...
`xdg-utils` is a multi-binary package without a main program.
## Fix
In `lib/rust.nix` and `lib/wasm.nix`, change:
```nix
# from:
lib.getExe xdg-open
# to:
lib.getExe' xdg-open "xdg-open"
```
This explicitly names the binary instead of relying on meta.mainProgram.