- Remove redundant build inputs
These are (optional) run-time dependencies, adding them to build inputs
does nothing.
- Use standard buildPhase
Note that specifying linker script is unnecessary. Also specify correct
host arch and efi platform.
- Replace non-working ad-hoc patch with wrapper
The ad-hoc patching of refind-install didn't actually substitute anything;
with a wrapper script patching becomes unnecessary
- Remove use of deprecated meta.version
Closes https://github.com/NixOS/nixpkgs/pull/18103