blob: 5bef5633aa03803c539bab0864f16549664913d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
let
ents = builtins.readDir ./.;
in builtins.listToAttrs (builtins.filter (x: x != null) (map (name: let
match = builtins.match "(.*)\\.patch" name;
in if match == null then null else {
name = builtins.head match;
value = {
name = "cpu-cgroup-v2-${name}";
patch = ./. + "/${name}";
};
}) (builtins.attrNames ents)))
|