git.iko.soy/typeable/cabal2nix
on master help sign in
Cabal2Nix.hs: fixed spelling of "self.ghc.meta.platforms"
commit64becb54bc08d961bdbd8f4fc7959fda3d1c410e authorPeter Simons <simons@cryp.to> dateSun 14 Aug 2011, 23:57 (15 years ago) parentc8bf02b
1 file changed+1−1
src/Cabal2Nix.hs+1−1
src/Cabal2Nix.hs+1−1
@@ -65,7 +65,7 @@ main = bracket (return ()) (\() -> hFlush stdout >> hFlush stderr) $ \() -> do
6565 maints = [ if '.' `elem` m then m else "self.stdenv.lib.maintainers." ++ m | Maintainer m <- opts ]
6666 plats' = [ if '.' `elem` p then p else "self.stdenv.lib.platforms." ++ p | Platform p <- opts ]
6767 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 []
6969 | otherwise = plats'
7070
7171 when (length uri /= 1) (cmdlineError "*** exactly one URI must be specified")