Skip to content

Commit fcbd789

Browse files
committed
PkgManager: Move default flags to Types.Mode
Switch from --usepkg=n to --usepkg-exclude=*/*, since the latter seems to behave consistently even if FEATURES=getbinpkg is turned on. Signed-off-by: hololeap <hololeap@protonmail.com>
1 parent 0ca8a87 commit fcbd789

File tree

1 file changed

+1
-0
lines changed
  • src/Distribution/Gentoo/Types

1 file changed

+1
-0
lines changed

src/Distribution/Gentoo/Types/Mode.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ getExtraRawArgs :: PkgManager -> ExtraRawArgs
185185
getExtraRawArgs = ExtraRawArgs . \case
186186
Portage (ReinstallAtomsMode (RATargets t)) ->
187187
bifoldMap (const []) (bifoldMap fromRAT (const [])) t
188+
Portage (PortageBasicMode _) -> ["--usepkg-exclude=*/*"]
188189
_ -> []
189190
where
190191
fromRAT = \case

0 commit comments

Comments
 (0)