This commit is contained in:
Frost-Phoenix 2024-01-26 22:13:25 +01:00
parent f76f19102c
commit 3414f3d43f

View file

@ -1,12 +1,14 @@
rec{ {
overlay = final: prev: systems = ["x86_64-linux"];
let
dirContents = builtins.readDir ../pkgs; perSystem = {
genPackage = name: { pkgs,
inherit name; inputs',
value = final.callPackage (../pkgs + "/${name}") { }; ...
}; }: {
names = builtins.attrNames dirContents; packages = {
in # instant repl with automatic flake loading
builtins.listToAttrs (map genPackage names); _2048 = pkgs.callPackage ./2048 {};
} };
};
}