Flakes: Difference between revisions

imported>Witchof0x20
m fixed typo in my previous edit
imported>Erikarvstedt
Explain additional outputs used by `nix run`
Line 164: Line 164:


You can also define additional arbitrary attributes, but these are the outputs that Nix knows about.
You can also define additional arbitrary attributes, but these are the outputs that Nix knows about.
==== nix run ====
When output <code>apps.<system>.myapp</code> is not defined, <code>nix run myapp</code> runs <code><packages or legacyPackages.<system>.myapp>/bin/<myapp.meta.mainProgram or myapp.pname or myapp.name (the non-version part)></code>


== Using flakes project from a legacy Nix ==
== Using flakes project from a legacy Nix ==