Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missing documentation: build vs. push vs. deploy #59

Closed
joepie91 opened this issue Jun 12, 2019 · 4 comments
Closed

Missing documentation: build vs. push vs. deploy #59

joepie91 opened this issue Jun 12, 2019 · 4 comments

Comments

@joepie91
Copy link

It's not really clear from the README what the difference between these is.

My guess is that:

  • build means evaluating the system configuration and building it into the local Nix store.
  • push means uploading the Nix store items to the target system. Implicitly builds if needed.
  • deploy means actually applying the system configuration that is made up of those uploaded store items, to the target system. Implicitly builds and pushes if needed.

... but I'm not sure that that guess is accurate.

@adamtulinius
Copy link
Contributor

You're spot on, with the distinction that deploy has multiple sub-commands (boot, switch, ..), that works exactly like they do for e.g. nixos-rebuild.

Could you be persuaded to make a PR with your suggested changes? :-)

@johanot
Copy link
Contributor

johanot commented Aug 7, 2019

@joepie91 are you ok with #63 marking this as fixed? :-)

@johanot johanot closed this as completed Sep 6, 2019
@joepie91
Copy link
Author

joepie91 commented Sep 6, 2019

Whoops, sorry for not responding again! I really should track my issues here more closely... but yeah, that change looks good, thanks @nhey :)

@johanot
Copy link
Contributor

johanot commented Sep 6, 2019

No hard feelings at all. I just assume silence means yes. :D Hope it's ok.

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

No branches or pull requests

3 participants