- 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
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
Use the correct linker script filename on i686 to fix this build error:
/.../ld: cannot open linker script file /nix/store/...-gnu-efi_3.0u/lib/elf_x86_64_efi.lds: No such file or directory
Only compile tested.