git.iko.soy/typeable/cabal2nix
on master help sign in
Cabal2Nix.hs: fixed spelling of "self.ghc.meta.platforms"
64becb5Peter Simons
src/Cabal2Nix.hs+1−1
@@ -65,7 +65,7 @@ main = bracket (return ()) (\() -> hFlush stdout >> hFlush stderr) $ \() -> do
65 maints = [ if '.' `elem` m then m else "self.stdenv.lib.maintainers." ++ m | Maintainer m <- opts ]
65 maints = [ if '.' `elem` m then m else "self.stdenv.lib.maintainers." ++ m | Maintainer m <- opts ]
66 plats' = [ if '.' `elem` p then p else "self.stdenv.lib.platforms." ++ p | Platform p <- opts ]
66 plats' = [ if '.' `elem` p then p else "self.stdenv.lib.platforms." ++ p | Platform p <- opts ]
67 plats
67 plats
68− | null plats' = if not (null maints) then ["self.ghc.meta.plats"] else []
68+ | null plats' = if not (null maints) then ["self.ghc.meta.platforms"] else []
69 | otherwise = plats'
69 | otherwise = plats'
70
70
71 when (length uri /= 1) (cmdlineError "*** exactly one URI must be specified")
71 when (length uri /= 1) (cmdlineError "*** exactly one URI must be specified")