Flakes: Difference between revisions

imported>Blurgyy
Add instruction on building flakes with git submodules
imported>Whynothugo
Add hint on installing a flake
Line 90: Line 90:


See also https://www.tweag.io/blog/2020-05-25-flakes/
See also https://www.tweag.io/blog/2020-05-25-flakes/
To install a flake when using nix outside of nixOS, use <code>nix profile install /path/to/flake</code>. The path may also be an URL (e.g.: <code>nix profile install git+https://example.com/my-repo?dir=subdirectory</code>).


== Flake schema ==
== Flake schema ==