-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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: depends on sed being available as gnused #15736
Comments
cc @domenkozar as you separated cloud-utils from amazon-grow-partition. |
Please reopen, this is still a problem in NixOS 17.09.
|
There's a workaround here: #22211 (comment) |
|
@orivej I could be mistaken, but I don't think that's the case for the version of |
afaik this wasn't backported |
there was a PR in master to fix it, but never backported. |
Issue description
cloud-utils depends on the
gnused
binary being in$PATH
, but stdenv has sed as justsed
.Steps to reproduce
Or just:
Technical details
Cause and proposed solution
In
buildPhase
, use ofsed
is replaced bygnused
here. I traced that code back to this commit which also includes this line making sed available asgnused
, but these are now separated in the codebase.In amazon-grow-partition, cloud-utils is used in the original context (in initrd) where
gnused
is still explicitely made available, but of course this doesn't hold when using cloud-utils elsewhere.It was mentioned on IRC by clever that using absolute paths instead of relying on PATH here would perhaps mess with the closure size of the initrd.
The text was updated successfully, but these errors were encountered: