Skip to content

Commit

Permalink
Types: Fix instance HasTargets RAModePkgs
Browse files Browse the repository at this point in the history
Targets for RAModeInvalid are the AllPkgs list, not the InvalidPkgs

Signed-off-by: hololeap <[email protected]>
  • Loading branch information
hololeap committed May 25, 2024
1 parent 878bfcf commit 70af12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Distribution/Gentoo/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ instance HasTargets ListModePkgs where
targets (ListAll ps) = getPkgs ps

instance HasTargets RAModePkgs where
targets (RAModeInvalid _ ps) = getPkgs ps
targets (RAModeInvalid ps _) = getPkgs ps
targets (RAModeAll ps) = getPkgs ps
targets (RAModeWorld ps) = getPkgs ps

Expand Down

0 comments on commit 70af12c

Please sign in to comment.