Fix/nix bootstrap without shell - #216
Draft
dwt wants to merge 2 commits into
Draft
Conversation
/nix/store needs to be allowed to execute as it contains all the binaries
…ests This commit currently shows an in-between state before the tests are moved into nixpkgs, where they should live and only be referenced from here (I think). So this is kind of a draft right now to show what I want to achieve and to allow testing that while not done yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just a draft right now, as the flake.nix part is not yet done. I want to put the test into nixpkgs, and only reference it here to make it easy to run the test with the latest executable if needed.
I guess this will be rarely needed, but it's nice to have an easy way to debug this.
The actual change to the go binary seems fairly small - still I would like to discuss it if I perhaps misunderstood how this works.