expose evalSchemeData function

This commit is contained in:
raf 2024-05-11 04:54:47 +03:00
parent a5c6348d42
commit 95e8054ccc
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -6,7 +6,11 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs @ {flake-parts, self, ...}:
outputs = inputs @ {
flake-parts,
self,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
perSystem = {pkgs, ...}: {
@ -28,6 +32,10 @@
lib.listToAttrs
];
in {
lib = {
inherit evalSchemeData;
};
schemeData = {
base16 = evalSchemeData "${self}/json/base16";
base24 = evalSchemeData "${self}/json/base24";