yackage 0.7.0.6 → 0.7.0.7
raw patch · 3 files changed
+8/−6 lines, 3 files
Files
- ChangeLog.md +3/−0
- yackage.cabal +1/−1
- yackage.hs +4/−5
ChangeLog.md view
@@ -0,0 +1,3 @@+## 0.7.0.7++* Change absolute paths to relative for index [#10](https://github.com/snoyberg/yackage/pull/10)
yackage.cabal view
@@ -1,5 +1,5 @@ Name: yackage-Version: 0.7.0.6+Version: 0.7.0.7 Synopsis: Personal Hackage replacement for testing new packages. description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/yackage>. Homepage: http://github.com/snoyberg/yackage
yackage.hs view
@@ -241,11 +241,10 @@ else fp where path' = path ++ "/"- cabals path = concatMap (go path) $ Map.toList ps- go path (name, vs) = map (go' path name) $ Set.toList vs- go' path name version = concat- [ path- , '/' : T.unpack (toPathPiece name)+ cabals path = concatMap go $ Map.toList ps+ go (name, vs) = map (go' name) $ Set.toList vs+ go' name version = concat+ [ T.unpack (toPathPiece name) , '/' : T.unpack (toPathPiece version) , '/' : cabalName name version ]