treewide: improve prepending and appending derivation arguments in bash code#357052
Conversation
|
BTW, something that was pointed out to me is that |
|
I went through this PR line-by-line again, LGTM. Can't approve myself, though ;) |
9444c3b to
1c2a5af
Compare
|
No idea why Outpaths (aarch64-darwin) suddenly fails after rebasing. |
This had been resolved in NixOS#318226.
1c2a5af to
f81eada
Compare
Just running it once more fixed it. |
@emilazy in case you are ok with this PR as well: ofborg-eval passed. |
Mindavi
left a comment
There was a problem hiding this comment.
LGTM, great to see the structuredAttrs support getting more in shape. Also generally a nice cleanup of all those little accumulated hacks.
f81eada to
801fe2c
Compare
…sh code Those would be problematic with __structuredAttrs turned on, because they'd turn those nice bash arrays back into strings - and potentially lose some of the values on the way.
801fe2c to
d86588d
Compare
|
Please review #368865. |
fixes regression introduced in NixOS#357052
The build of glibcInfo has been broken since d86588d (from NixOS#357052). The common derivation had a makeFlags added which the info derivation was overriding. The manual says build targets should be put in buildFlags instead of makeFlags anyways, and doing so removes the conflict.
Those would be problematic with __structuredAttrs turned on, because they'd turn those nice bash arrays back into strings - and potentially lose some of the values on the way.
Part of the overall effort to enable structuredAttrs by default eventually, tracking: #205690
I think those changes are straight-forward, but somebody better double check.
@ShamrockLee @emilazy
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.