15 lines
380 B
Nix
15 lines
380 B
Nix
|
{
|
||
|
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 ]; };
|
||
|
});
|
||
|
}
|