Skip to content

Commit

Permalink
Merge pull request #547 from leungbk/lua
Browse files Browse the repository at this point in the history
PostProcess: Use lua5_4 for lua
  • Loading branch information
cdepillabout committed Apr 27, 2022
2 parents 32ec659 + 8e9a7c5 commit e2e5fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ hooks =
, ("libxml", set (configureFlags . contains "--extra-include-dir=${libxml2.dev}/include/libxml2") True)
, ("liquid-fixpoint", set (testDepends . system . contains (pkg "z3")) True . set (testDepends . system . contains (pkg "nettools")) True . set (testDepends . system . contains (pkg "git")) True . set doCheck False)
, ("liquidhaskell", set (testDepends . system . contains (pkg "z3")) True)
, ("lua >= 2.0.0", over (libraryDepends . system) (replace (pkg "lua") (pkg "lua5_3")))
, ("lua >= 2.0.0 && < 2.2.0", over (libraryDepends . system) (replace (pkg "lua") (pkg "lua5_3")))
, ("lua >= 2.2.0", over (libraryDepends . system) (replace (pkg "lua") (pkg "lua5_4")))
, ("lzma-clib", over (metaSection . platforms) (Set.filter (\(Platform _ os) -> os == Windows)) . set (libraryDepends . haskell . contains (self "only-buildable-on-windows")) False)
, ("MFlow < 4.6", set (libraryDepends . tool . contains (self "cpphs")) True)
, ("mwc-random", set doCheck False)
Expand Down

0 comments on commit e2e5fff

Please sign in to comment.