talks/working-without-workspace/sections/flakes.rst

23 lines
390 B
ReStructuredText
Raw Normal View History

2023-04-06 13:07:08 +00:00
.. raw:: pdf
PageBreak standardPage
Nix Flakes
==========
* Per project
* Uses ``nixpkgs`` to create a development shell
* Can create build artifacts (phar?)
* Could replace Docker and Docker Compose
.. raw:: pdf
TextAnnotation "Creates a temporary shell with the requirements for that project."
flake.nix
=========
.. code-block:: nix
:include: code/flake.nix
:linenos: