nixos-configs/apps/packages.nix
matt1432 bea7a1e274
All checks were successful
Discord / discord commits (push) Has been skipped
fix: unbreak some stuff and fix some naming
2025-01-21 15:05:25 -05:00

15 lines
364 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"
"update-sources"
])