Skip to content
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

show new output for :b #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

show new output for :b #136

wants to merge 1 commit into from

Conversation

mhwombat
Copy link
Contributor

@mhwombat mhwombat commented Apr 18, 2020

The output from the current version of :b in the nix repl shows less information, so when the first derivation is built, the environment isn't printed to the screen. As a result, the purpose of putting declare -xp into the builder script is no longer clear.

Therefore, I split the example into two parts 1) using a builder script that simply echoes "foo" to $out, and 2) a builder script that writes the environment to $out. I think this makes it easier for the user to follow the steps.

@jonringer
Copy link

this does a little more than update the :b command, are you sure that you included the right changes?

@mhwombat
Copy link
Contributor Author

mhwombat commented May 3, 2020

this does a little more than update the :b command, are you sure that you included the right changes?

Yes. In the existing version, when derivation is built, the environment isn't printed to the screen. As a result, the purpose of putting declare -xp into the builder script is no longer clear. That's why I split it into two steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants