As runCommand
-like builders doesn’t have nativeBuildInputs
, there seems to be no places for the setup hooks to drop in and get sourced by the builder.
Should we
source "${makeWrapper}/nix-support/setup-hook"
to invoke a setup hook? Or is there a better (more idiomatic) way to do so?
How about buildFHSUserEnv
and appimageTools.wrapType2
?