From fcb712925195843f137fda98c5ed54a5c37867ca Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 17 Mar 2020 18:39:20 +0100 Subject: [PATCH] Improve platform parser --- app/ghcup/Main.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/app/ghcup/Main.hs b/app/ghcup/Main.hs index 7b9bbb0..429e361 100644 --- a/app/ghcup/Main.hs +++ b/app/ghcup/Main.hs @@ -416,6 +416,7 @@ platformParser s' = case MP.parse (platformP <* MP.eof) "" (T.pack s') of distroP :: MP.Parsec Void Text LinuxDistro distroP = choice' [ MP.chunk [s|debian|] $> Debian + , MP.chunk [s|deb|] $> Debian , MP.chunk [s|ubuntu|] $> Ubuntu , MP.chunk [s|mint|] $> Mint , MP.chunk [s|fedora|] $> Fedora