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: fix build recipe #28007
Conversation
The substitutions of sed and awk are unnecessary. The symlink for gnused is actually broken.
@alexandergall, thanks for your PR! By analyzing the history of the files in this pull request, we identified @domenkozar and @dezgeg to be potential reviewers. |
Have you tried making an initrd with this? Afaik it can not depend on external nix store paths except |
My understanding was that with the current |
Note that this fix is required for #28008, which has already been merged. How can I progress this PR? |
It gets called from https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/grow-partition.nix#L36 if you are have I still think it's needed there, so we should fix the symlink if it's broken. |
This stuff is pretty convoluted :/ But I think this patch is still fine. The module you refer to arranges that all dependencies are copied to the The symlink is clearly not needed here (and broken for this package) and neither is it needed for Am I missing something? |
To me it seems that the But I agree that full Nix paths should be used in the package and then A good way to test is to run |
What I'm trying to say is that the patching of So, no I ran that test and
At that point, it has used both, |
Is that sufficient? I don't know what the expected result of the test is. |
Can you please advise how to proceed? I would really like to get this into 17.09. |
@alexandergall mostly because my lack of time. I'll help you get it to 17.09. Sorry! |
@alexandergall I'll check over the weekend. |
@alexandergall this is now supedseeded by #30018 - does it look ok to you? |
@domenkozar yes, that solves my issue. This PR can be closed. Thanks. |
Sorry for taking so long :) |
Motivation for this change
The substitutions of sed and awk are unnecessary. The symlink for
gnused is actually broken. This has also been discussed in #23024.
Things done
Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)