nixpkgs/pkgs/applications/editors/emacs/elisp-packages/update-manual.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
401 B
Nix
Raw Normal View History

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