# this is basically purs-nix/purs-nix official generator
# but accepting arguments
pkgs:
let
b = builtins;
p = pkgs;
l = p.lib;
# TODO we should probably filter the universe of packages
# to only include the packages being used by CTL and its
# dependencies
package-set = l.importJSON (./packages.json);
package-set-entries = l.mapAttrsToList (n: v: { inherit n v; }) package-set;
escape-reserved-word = ps-pkgs: str:
let
to only include the packages being used by CTL and its
dependencies
https://github.com/LovelaceAcademy/ctl-nix/blob/6aa9478481e6bb0c0524528a94f19dbbf9b321e8/nix/package-set/generate.nix#L8