Open j-baker opened 5 months ago
Interesting - that approach changes the code to use structuredAttrs. it might just be simpler to unset structuredAttrs in the override (or otherwise, to always set structuredattrs). No specific need to use structuredattrs for this bit only.
Certain derivation attribute values such as foo = { bar = 10; }
are only valid with __structuredAttrs, so that wouldn't quite work :)
Describe the bug
Every derivation has a .inputDerivation that can be used to e.g. create a dev shell. The runtime dependencies of this derivation are the build dependencies of the parent.
On my computer, on the two packages I've tried, if
__structuredAttrs = true
is set for the parent, the inputDerivation will fail to build.Steps To Reproduce
Expected behavior
Succeeds
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@roberth seems to have made a bunch of PRs to this piece of code!
Add a :+1: reaction to issues you find important.