a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
16 lines
475 B
Nix
16 lines
475 B
Nix
let
|
|
nixpkgs = import ../../..;
|
|
inherit (nixpkgs {}) pkgs lib;
|
|
getEvaluating = x:
|
|
builtins.attrNames (
|
|
lib.filterAttrs (
|
|
_: v: (builtins.tryEval (v.outPath or null)).success && lib.isDerivation v && !v.meta.broken
|
|
) x
|
|
);
|
|
brokenDeps = lib.subtractLists
|
|
(getEvaluating pkgs.haskellPackages)
|
|
(getEvaluating (nixpkgs { config.allowBroken = true; }).haskellPackages);
|
|
in
|
|
''
|
|
${lib.concatMapStringsSep "\n" (x: " - ${x}") brokenDeps}
|
|
''
|