mirror of
https://github.com/NotAShelf/Basix.git
synced 2024-11-22 08:20:42 +00:00
expose evalSchemeData
function
This commit is contained in:
parent
a5c6348d42
commit
95e8054ccc
1 changed files with 9 additions and 1 deletions
10
flake.nix
10
flake.nix
|
@ -6,7 +6,11 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ {flake-parts, self, ...}:
|
outputs = inputs @ {
|
||||||
|
flake-parts,
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
|
@ -28,6 +32,10 @@
|
||||||
lib.listToAttrs
|
lib.listToAttrs
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
lib = {
|
||||||
|
inherit evalSchemeData;
|
||||||
|
};
|
||||||
|
|
||||||
schemeData = {
|
schemeData = {
|
||||||
base16 = evalSchemeData "${self}/json/base16";
|
base16 = evalSchemeData "${self}/json/base16";
|
||||||
base24 = evalSchemeData "${self}/json/base24";
|
base24 = evalSchemeData "${self}/json/base24";
|
||||||
|
|
Loading…
Reference in a new issue