2 pkgs = import ../../../../../. {
3 config.allowBroken = true;
5 inherit (pkgs) lib emacs;
6 inherit (lib) isDerivation hasAttr filterAttrs mapAttrs attrValues;
8 # Extract updateScript's from manually package emacs packages
9 hasScript = filterAttrs (_: v: isDerivation v && hasAttr "updateScript" v) emacs.pkgs.manualPackages;
11 in attrValues (mapAttrs (_: v: v.updateScript) hasScript)