Skip to content

Commit

Permalink
rollback the attempt to fix version trouble
Browse files Browse the repository at this point in the history
Instead, it forced all packages to be recompiled all the time.
Things are not as easy as they seem...

rolling back:

Thu May 27 23:28:21 CEST 2010  Lennart Kolmodin <kolmodin@gentoo.org>
  * bugfix: ghc version x.y.z is not same as version x.y
  haskell-updater was treating ghc 6.12.2.20100521 as the same version as
  6.12.2, this patch makes it into two separate versions.

    M ./Distribution/Gentoo/GHC.hs -1 +1
  • Loading branch information
kolmodin committed May 28, 2010
1 parent fd1fca8 commit 4e1ceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Distribution/Gentoo/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ checkLibDir thisGhc libDir = pkgsHaveContent (hasDirMatching wanted)
isValid = isGhcLibDir libDir

-- Invalid if it's this GHC
isInvalid = BS.isPrefixOf (BS.append thisGhc (BS.pack "/"))
isInvalid = BS.isPrefixOf thisGhc

-- A valid GHC library directory starting at libdir has a name of
-- either "ghc" or "ghc-bin", then a hyphen and then a version number.
Expand Down

0 comments on commit 4e1ceeb

Please sign in to comment.