Basix/flake.nix

25 lines
754 B
Nix
Raw Normal View History

2024-05-11 00:12:26 +00:00
{
description = "Description for the project";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
schemes = {
url = "github:tinted-theming/schemes";
flake = false;
};
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
2024-05-11 00:37:07 +00:00
perSystem = {pkgs, ...}: {
2024-05-11 00:12:26 +00:00
# Example if we could make it a list:
# builtins.mapAttrs (_: p: builtins.fromJSON (builtins.readFile p)) (import ./list.nix)
packages = {
convert-scheme = pkgs.callPackage ./packages/convert-scheme/package.nix {};
};
};
};
}