3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
16 lines
476 B
Nix
16 lines
476 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}
|
|
''
|