git.iko.soy/typeable/cabal2nix
on master help sign in
src/Cabal2Nix.hs: use ghc.meta.platforms as default platform, rather than haskellPlatforms
commit3c62084ad4869090349183b8d58c1a587aa7f1f3 authorPeter Simons <simons@cryp.to> dateTue 9 Aug 2011, 10:12 (15 years ago) parent8ba91f9
1 file changed+1−1
src/Cabal2Nix.hs+1−1
src/Cabal2Nix.hs+1−1
@@ -61,7 +61,7 @@ main = bracket (return ()) (\() -> hFlush stdout >> hFlush stderr) $ \() -> do
6161 maintainers = [ m | Maintainer m <- opts ]
6262 platforms' = [ p | Platform p <- opts ]
6363 platforms
64− | null platforms' = if not (null maintainers) then ["haskellPlatforms"] else []
64+ | null platforms' = if not (null maintainers) then ["self.ghc.meta.platforms"] else []
6565 | otherwise = platforms'
6666
6767 when (length uri /= 1) (cmdlineError "*** exactly one URI must be specified")