-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Update nixos link in linux_dependencies.md #16601
base: main
Are you sure you want to change the base?
Conversation
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
`nix develop -c cargo run` to run the program. See | ||
[Nix's documentation](https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-develop.html) | ||
for more information about `devShells`. | ||
|
||
Note that this template does not add Rust to the environment because there are many ways to do it. | ||
For example, to use stable Rust from nixpkgs, you can add `cargo` and `rustc` to `nativeBuildInputs`. | ||
|
||
[Here](https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/jumpy/default.nix) | ||
[Here](https://github.com/NixOS/nixpkgs/blob/e0464e47880a69896f0fb1810f00e0de469f770a/pkgs/games/jumpy/default.nix) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was moved to https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ju/jumpy/package.nix
@@ -136,15 +136,15 @@ You can do this in one line with `nix-shell --run "cargo run"`. | |||
|
|||
This is also possible with [Nix flakes](https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html). | |||
Instead of creating `shell.nix`, you just need to add the derivation (`mkShell`) | |||
to your `devShells` in `flake.nix`. Run `nix develop` to enter the shell and | |||
to your `devShells` in `flake.nix`. Run `nix develop` to enter the shell or just |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"or just" (longer command) sounds a bit wrong.
If we want "just" here, it should probably be later. "(command) to just run the program."
Fix a dead link and some misleading text.