git.iko.soy/typeable/cabal2nix
on master help sign in
Distribution/NixOS/Derivation/Cabal.hs: remove obsolete filtering hack
commit0b740961782b65a46422ad391f6654a858c59b56 authorPeter Simons <simons@cryp.to> dateThu 22 Jan 2015, 14:14 (12 years ago) parent0eafe5a
1 file changed+2−2
src/Distribution/NixOS/Derivation/Cabal.hs+2−2
src/Distribution/NixOS/Derivation/Cabal.hs+2−2
@@ -106,8 +106,8 @@ renderDerivation deriv =
106106 , rbrace
107107 ]
108108 where
109− inputs = nub $ sortBy (compare `on` map toLower) $ filter (not . isPrefixOf "stdenv.") $
110− buildDepends deriv ++ testDepends deriv ++ buildTools deriv ++ extraLibs deriv ++ pkgConfDeps deriv ++ extraFunctionArgs deriv
109+ inputs = nub $ sortBy (compare `on` map toLower) $
110+ buildDepends deriv ++ testDepends deriv ++ buildTools deriv ++ extraLibs deriv ++ pkgConfDeps deriv
111111 ++ ["fetch" ++ derivKind (src deriv) | derivKind (src deriv) /= "" && not isHackagePackage]
112112 renderedFlags = [ text "-f" <> (if enable then empty else char '-') <> text f | (FlagName f, enable) <- cabalFlags deriv ]
113113 ++ map text (configureFlags deriv)