-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aura can't find libc++ even though it's an AUR package #630
Labels
Comments
I had thought this bug already fixed, but sure enough it looks like the fix only applied to official packages and not for AUR lookups: -- | If given a virtual package, try to find a real package to install.
resolveName :: MVar () -> Settings -> PkgName -> IO (Either PkgName (PkgName, Provides))
resolveName mv ss pn = do
provs <- map PkgName <$> pacmanLines (envOf ss) ["-Ssq", "^" <> escape (pnName pn) <> "$"]
case provs of
[] -> pure $ Left pn
_ -> Right . (, Provides pn) <$> chooseProvider mv ss pn provs
where
escape :: Text -> Text
escape = T.foldl' f ""
f :: Text -> Char -> Text
f acc '+' = acc <> "\\+"
f acc c = T.snoc acc c |
I'm going to call this a bug in the underlying One should be able to just call |
Merged
Progress!
|
I'm able to build |
This fix for this will be included in the upcoming release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the following gives an error:
Aura says
libc++
andlibc++abi
aren't AUR packages. They actually are:However, when I use the
%2B
encoded character instead of+
, aura then is able to find those packages.The text was updated successfully, but these errors were encountered: