Fixes a few issues, listed below.
Intel's website redesign broke the requireFile link, but fortunately
files can now be downloaded without a user account. The derivation
is modified to remove requireFile and download directly instead.
Issues with quoting command line arguments are corrected.
An issue causing crashes when running in containers is worked around
with LD_PRELOAD.
The meta.platforms attribute is corrected to the supported processors.
This allows customizing the install process for the unwrapped process,
as proposed in #123469, without introducing top-level support for
untested modifications.
The PR could then be straightforwardly implemented as an overlay, that
does:
quartus-prime-lite = super.quartus-prime-lite.override {
unwrapped = quartus-prime-lite.unwrapped.overrideAttrs (o: {
buildCommand = o.buildCommand + ''
rm -r $out/nios2eds/bin/gnu
find $out/modelsim_ase/altera/{verilog,vhdl}/* ! -name src ! -path '*twentynm*' -delete
'';
});
};
buildFHSUserEnv does not currently support multiple binaries, so doing
this manually with wrappers.
Pass through original quartus derivation for debugging/overriding