Loading
autoPatchelfHook: allow building on all platforms (#308994)
* python3.pkgs.pyelftools: fix license metadata
* autoPatchelfHook: allow building on all platforms
This change allows using autoPatchelfHook in nativeBuildInputs when
cross-compiling from non-Linux platform. Technically, the hook is
platform-independent and only limited by the dependencies, namely
patchelf (`platforms = all`) and pyelftools (inherits from python, that
is, `platforms = linux ++ darwin ++ windows`).
---------
Co-authored-by:
Guillaume Maudoux <guillaume.maudoux@tweag.io>