treefmt/flake.nix

33 lines
856 B
Nix
Raw Permalink Normal View History

2023-12-23 15:50:47 +03:00
{
description = "Treefmt: once CLI to format your repo";
2023-12-23 15:50:47 +03:00
nixConfig = {
extra-substituters = ["https://numtide.cachix.org"];
extra-trusted-public-keys = ["numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE="];
};
2023-12-23 15:50:47 +03:00
inputs = {
blueprint = {
url = "github:numtide/blueprint";
2023-12-23 15:50:47 +03:00
inputs.nixpkgs.follows = "nixpkgs";
};
gomod2nix = {
url = "github:nix-community/gomod2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-compat.url = "github:nix-community/flake-compat";
nix-filter.url = "github:numtide/nix-filter";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-12-23 15:50:47 +03:00
};
outputs = inputs:
inputs.blueprint {
2023-12-23 15:50:47 +03:00
inherit inputs;
prefix = "nix/";
2023-12-23 15:50:47 +03:00
};
}