Skip to content

Instantly share code, notes, and snippets.

@Kiwi
Created December 5, 2020 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kiwi/4a8fc477c0991c42d0dab204b209831c to your computer and use it in GitHub Desktop.
Save Kiwi/4a8fc477c0991c42d0dab204b209831c to your computer and use it in GitHub Desktop.
nix-maintainers.nix
{ pkgs ? import <nixpkgs> {}
, maintainer
}: with pkgs.lib;
filterAttrs (name: value:
(builtins.tryEval value).success &&
elem maintainers.${maintainer} (value.meta.maintainers or [])
) pkgs.haskellPackages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment