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

Cleaner installation command #289

Merged
merged 2 commits into from
Mar 10, 2025
Merged

Cleaner installation command #289

merged 2 commits into from
Mar 10, 2025

Conversation

sfermigier
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Mar 10, 2025

Nixpkgs diff

README.md Outdated
@@ -39,7 +39,7 @@ It's also possible to install `nixfmt` directly from the repository using `nix-e
Also, updates are not done automatically (as it would with the system packages).

```console
$ nix-env -f https://github.com/NixOS/nixfmt/archive/master.tar.gz -i
$ nix-env -i -f https://github.com/NixOS/nixfmt/archive/master.tar.gz -i
Copy link
Member

Choose a reason for hiding this comment

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

There's already a -i at the end :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not on my screen:
Screenshot 2025-03-10 at 16 15 53

Copy link
Member

Choose a reason for hiding this comment

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

It's fine to move the -i to the beginning for clarity, but then you should also to remove the one at the end

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@infinisil infinisil changed the title Fix installation command Cleaner installation command Mar 10, 2025
@infinisil infinisil enabled auto-merge (squash) March 10, 2025 17:00
@infinisil infinisil merged commit 74a8d9a into NixOS:master Mar 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants