post-process: readline library has undeclared dependencies in 'readline' and 'ncurses'
commitbfc0e4c2e7d7011c24ebaac6310dcbff588eb16b
authorPeter Simons <simons@cryp.to>
dateMon 2 Feb 2015, 11:05 (12 years ago)
parentc49a03d
src/Cabal2Nix/PostProcess.hs+1
@@ -88,6 +88,7 @@ postProcess' deriv@(MkDerivation {..})
8888 | pname == "persistent" = deriv { extraLibs = Set.insert "sqlite3" extraLibs }
8989 | pname == "purescript" = deriv { buildTools = Set.insert "nodejs" buildTools }
9090 | pname == "repa-algorithms" = deriv { extraLibs = Set.insert "llvm" extraLibs }
91+ | pname == "readline" = deriv { extraLibs = Set.insert "readline" (Set.insert "ncurses" extraLibs) }
9192 | pname == "repa-examples" = deriv { extraLibs = Set.insert "llvm" extraLibs }
9293 | pname == "saltine" = deriv { extraLibs = Set.map (\x -> if x == "sodium" then "libsodium" else x) extraLibs }
9394 | pname == "SDL-image" = deriv { extraLibs = Set.insert "SDL_image" extraLibs }
src/hackage2nix.hs−1
@@ -2579,7 +2579,6 @@ defaultConfiguration = Configuration
25792579 , "reactive-glut"
25802580 , "reactive-thread"
25812581 , "reactor"
2582− , "readline"
25832582 , "readline-statevar"
25842583 , "really-simple-xml-parser"
25852584 , "records-th"