Skip to content

Commit 4b6ad33

Browse files
committed
Leave redirects out of allHsPkgsComponents
1 parent 6a431ff commit 4b6ad33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/shell-for.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ let
6868
selectedComponents =
6969
lib.filter isSelectedComponent (lib.attrValues transitiveDependenciesComponents);
7070

71-
allHsPkgsComponents = lib.concatMap haskellLib.getAllComponents (builtins.attrValues hsPkgs);
71+
allHsPkgsComponents = lib.concatMap haskellLib.getAllComponents
72+
(lib.filter (x: !(x.isRedirect or false)) (builtins.attrValues hsPkgs));
7273

7374
# Given a list of `depends`, removes those which are selected components
7475
removeSelectedInputs =

0 commit comments

Comments
 (0)