triangle/flake.nix

15 lines
380 B
Nix
Raw Normal View History

2023-11-11 01:11:02 +00:00
{
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 ]; };
});
}