git.iko.soy/typeable/cabal2nix
on master help sign in
cosmetic
commit57ef02d5b5972f235e1985ddd984d44993a4ccaa authorPeter Simons <simons@cryp.to> dateThu 17 Sep 2015, 11:07 (11 years ago) parent56c9b4e
1 file changed+1−1
hackage2nix/src/Stackage.hs+1−1
hackage2nix/src/Stackage.hs+1−1
@@ -67,7 +67,7 @@ readLTSHaskell dirPath = do
6767readStackageNightly :: FilePath -> IO Snapshot
6868readStackageNightly dirPath = do
6969 filePaths <- liftIO (listFiles dirPath)
70− let filePath = last (sort [ p | p <- filePaths, takeExtension p == ".yaml" ])
70+ let filePath = maximum [ p | p <- filePaths, takeExtension p == ".yaml" ]
7171 readSnapshot (dirPath </> filePath)
7272
7373readSnapshot :: FilePath -> IO Snapshot