Hi, I'd like to tell regular inputs from "native" inputs in my own build system, but the procedure called by bag->derivation receives merely a consolidated variable called "inputs". [1] How may I tell the inputs apart, please?
My build system automatically wraps executables with variables like LD_LIBRARY_PATH from the inputs. It is wrong to include native inputs in LD_LIBRARY_PATH. The cross-building procedure called by the nearby bag->cross-derivation, on the other hand, receives separate variables for "build-inputs" and "host-inputs" [2] but it rebuilds more packages than I expected when I used it for the current system architecture. Do cross-builds targeting an architecture satisfy the prerequisites for native builds on that architecture? Thanks for looking! Kind regards Felix [1] https://codeberg.org/guix/guix/src/commit/fd49d69fbe07557f0bf55bc7e556e60fc5b13082/guix/packages.scm#L2044 [2] https://codeberg.org/guix/guix/src/commit/fd49d69fbe07557f0bf55bc7e556e60fc5b13082/guix/packages.scm#L2084-L2086
