Files
tf2-nix/tf2/packages/huds/hud-db/default.nix
Shelvacu 61c63737af Fix mkTf2Config derivation names ending with a dash -
Also changed some of the source derivation names to keep our sanity
2025-06-29 19:16:52 -07:00

14 lines
324 B
Nix

{ mkTf2Config, fetchFromGitHub }:
builtins.mapAttrs
(name: e: mkTf2Config {
pname = name;
env.description = e.description;
custom = [
(fetchFromGitHub (builtins.removeAttrs e.src ["__type"] // {
name = "${name}-src";
}))
];
})
(builtins.fromJSON (builtins.readFile ./hud-db.json))