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

In the README, recommend a git url #343

Merged
merged 2 commits into from
Mar 16, 2023
Merged

Conversation

Hoverbear
Copy link
Contributor

Description

One of our users was kind enough to test a PR for us! They did it by building their own binary with Cargo! This is excellent and it seems to have worked fine for them. I did notice they seem to have git cloned the repo before, which they didn't need to do! We can recommend future users use a git address to help them skip a step.

Checklist
  • Formatted with cargo fmt
  • Built with nix build
  • Ran flake checks with nix flake check
  • Added or updated relevant tests (leave unchecked if not applicable)
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • Linked to related issues (leave unchecked if not applicable)
Validating with install.determinate.systems

If a maintainer has added the upload to s3 label to this PR, it will become available for installation via install.determinate.systems:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/$PR_NUMBER | sh -s -- install

@Hoverbear Hoverbear requested a review from cole-h March 15, 2023 21:57
@Hoverbear Hoverbear self-assigned this Mar 15, 2023
@Hoverbear Hoverbear added this to the v0.6.0 milestone Mar 15, 2023
@@ -266,7 +266,7 @@ Then copy the `result/bin/nix-installer` to the machine you wish to run it on.
You can also add `nix-installer` to a system without Nix via `cargo`:

```bash
RUSTFLAGS="--cfg tokio_unstable" cargo install nix-installer
RUSTFLAGS="--cfg tokio_unstable" cargo install --git https://github.com/DeterminateSystems/nix-installer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure we want this to be the "default" recommendation...? Maybe add a note like "if you want to try the most recent, not-yet-released changes, you can also install directly from git with: ...."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, maybe. We should do that with the nix flake ref too then

@Hoverbear Hoverbear requested a review from cole-h March 16, 2023 16:03
Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

2 participants