Cross compiling ruby pulls in host package despite it being in nativeBuildInputs #91265
Labels
0.kind: bug
Something is broken
6.topic: cross-compilation
Building packages on a different platform than they will be used on
6.topic: ruby
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
run
nix-build -A pkgsCross.armv7l-hf-multiplatform.ruby
on an x86_64 systemObserve that it fails trying to run an arm binary of bison
Observe that that derivation lists the wrong architecture bison in nativebuildInputs(!)
Remove the bison override for ruby in
all-packages.nix
Observe that the native bison is used and present in the derivation (although the build fails with this version of bison as expected)
Additional context
I conjecture that
bison_3_5
overridesAttrs
is somehow interfering with getting the native derivation when it is passed tonativeBuildInputs
Notify maintainers
@FRidh I think you added this override.
@vrthra @manveru maintainers for ruby.
Metadata
Maintainer information:
The text was updated successfully, but these errors were encountered: