Flake Compat: Difference between revisions

Pigs (talk | contribs)
Create flake-compat page, move some content from the main flake page
 
Pigs (talk | contribs)
m Add category flakes
 
Line 72: Line 72:


With this setup, running <code>nix run</code> will build and execute the flake as expected. When using flake-compat, it becomes possible to run traditional commands like <code>nix-build</code> which will return a derivation using the flake’s output definitions.
With this setup, running <code>nix run</code> will build and execute the flake as expected. When using flake-compat, it becomes possible to run traditional commands like <code>nix-build</code> which will return a derivation using the flake’s output definitions.
[[Category:Flakes]]