flake: add flake-compat

This commit is contained in:
raf 2023-11-03 12:40:30 +03:00
commit 586140ce47
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 28 additions and 4 deletions

View file

@ -1,9 +1,14 @@
{
description = "Description for the project";
description = "A personal package overlay";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};
outputs = inputs @ {flake-parts, ...}:
@ -11,8 +16,8 @@
systems = ["x86_64-linux" "aarch64-linux"];
imports = [./pkgs];
perSystem = _: {};
flake = {};
perSystem = {pkgs, ...}: {
formatter = pkgs.alejandra;
};
};
}