nixos-configs/apps/packages.nix
matt1432 e3855ffb5e
All checks were successful
Discord / discord commits (push) Has been skipped
feat(mc-mods): init new script
2025-02-20 16:23:56 -05:00

17 lines
395 B
Nix

{
inputs,
pkgs,
...
}: let
inherit (pkgs.lib) listToAttrs nameValuePair;
buildApp = attrs: (pkgs.callPackage ./buildApp.nix ({} // inputs // attrs));
callPackage = file: pkgs.callPackage file ({inherit buildApp;} // inputs);
in
listToAttrs (map (x: nameValuePair x (callPackage ./${x})) [
"extract-subs"
"gen-docs"
"mc-mods"
"pin-inputs"
"update-sources"
])