From f2931dc4330c92cbd92d175964940c860863f766 Mon Sep 17 00:00:00 2001 From: AlephCubed <76791009+AlephCubed@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:35:36 -0800 Subject: [PATCH] Updated nixos link in `linux_dependencies.md`. (#17146) Fixes dead link to nixos file and includes a slight wording change. Adopts #16601 and closes #16811. --------- Co-authored-by: Thomas M. DuBuisson --- docs/linux_dependencies.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index cc77ae8eb9..32d387f5ce 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -144,15 +144,15 @@ to link graphics drivers into the context of software installed by nix: 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 -`nix develop -c cargo run` to run the program. See +to your `devShells` in `flake.nix`. Run `nix develop` to enter the shell or +`nix develop -c cargo run` to just 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/master/pkgs/by-name/ju/jumpy/package.nix) is an example of packaging a Bevy program in nix. ## [OpenSUSE](https://www.opensuse.org/)