Adding programs to PATH: Difference between revisions

Axka (talk | contribs)
m Add shell session example to declarative Nix flake devshell
Tags: Mobile edit Mobile web edit Visual edit
Axka (talk | contribs)
m Add details about symlink trees
Tags: Mobile edit Mobile web edit Visual edit
Line 7: Line 7:
== Persistent ==
== Persistent ==


These methods install the packages globally (not local to a specific development shell), persist the installation between reboots and link directories together.
These methods install the packages globally (not local to a specific development shell), persist the installation between reboots and symlink paths together into a specific directory (see the NixOS options {{Nixos:option|environment.systemPackages}} and {{Nixos:option|environment.pathsToLink}} for details).


=== NixOS ===
=== NixOS ===