{ description = "A very basic flake"; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; flakePkgs = { triangle = pkgs.callPackage ./. { }; }; in { packages = flakePkgs; devShell = pkgs.mkShell { packages = with pkgs; [ nixfmt ]; }; }); }