Skip to content

Commit

Permalink
Allow ipkg sourcedir to have deep location
Browse files Browse the repository at this point in the history
  • Loading branch information
shmish111 committed Dec 16, 2018
1 parent f76dac0 commit 0940402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Idris/Package/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pOptions = do
pClause :: PParser ()
pClause = clause "executable" filename (\st v -> st { execout = Just v })
<|> clause "main" (iName []) (\st v -> st { idris_main = Just v })
<|> clause "sourcedir" identifier (\st v -> st { sourcedir = v })
<|> clause "sourcedir" stringLiteral (\st v -> st { sourcedir = v })
<|> clause "opts" pOptions (\st v -> st { idris_opts = v ++ idris_opts st })
<|> clause "pkgs" (commaSep (pPkgName <* someSpace)) (\st ps ->
let pkgs = pureArgParser $ concatMap (\x -> ["-p", show x]) ps
Expand Down

0 comments on commit 0940402

Please sign in to comment.