New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud-utils: 0.29 -> 0.30 #30018
cloud-utils: 0.29 -> 0.30 #30018
Conversation
substitute "${pkgs.cloud-utils}/bin/.growpart-wrapped" "$out/bin/growpart" \ | ||
--replace "${pkgs.bash}/bin/sh" "/bin/sh" \ | ||
--replace "awk" "gawk" \ | ||
--replace "sed" "gnused" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks strange: you copy bin/sed
and then replace sed with gnused. And why don't we copy bin/awk
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually only restored the previous behavior. Do we have any name collision with gawk and busybox?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super super weird to modify a store path in place taking advantage of the fact that you're in the initrd so it's mutable 😱 especially when we own the package and can just fix the wrapper. What's going on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, it's not in place, but still weird to patch the wrapper when we own it.
|
Checkout |
Motivation for this change
The patch I removed was actually not used by this version anymore.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)