22 lines
582 B
Nix
22 lines
582 B
Nix
{
|
|
description = "My awesome lua project";
|
|
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, flake-parts, ... }@inputs:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
|
|
imports = [ ./nix/development.nix ];
|
|
|
|
perSystem = { system, config, pkgs-dev, ... }: {
|
|
formatter = pkgs-dev.nixfmt-classic;
|
|
};
|
|
};
|
|
}
|