Skip to content

Latest commit

 

History

History
 
 

example-flake-project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Example flake project

In this example, we create a flake.nix file that tells Nix where to fetch nixpkgs, flake-utils and tket. It also builds an example application, using pyproject.toml and the src directory. This application exposes two scripts: entanglement and teleport, that set up trivial circuits and display them in your browser.

To run these scripts, simply run the following commands from within this directory:

nix run .#entanglement

and

nix run .#teleport