8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
11 lines
334 B
Nix
11 lines
334 B
Nix
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)))
|