git.iko.soy/typeable/cabal2nix
on master help sign in
Normalize.hs: cosmetic
commit2d5ffaeadbaa0145558e28de74a575bc7748eb04 authorPeter Simons <simons@cryp.to> dateThu 22 Jan 2015, 15:01 (12 years ago) parentda761b0
1 file changed+2−2
src/Cabal2Nix/Normalize.hs+2−2
src/Cabal2Nix/Normalize.hs+2−2
@@ -55,8 +55,8 @@ normalizeNixLibs = normalizeList . concatMap libNixName
5555normalizeNixBuildTools :: [String] -> [String]
5656normalizeNixBuildTools = normalizeList . concatMap buildToolNixName
5757
58−-- |Strip the "self.ghc.meta.platforms" prefix from platform names, filter
59−-- duplicates, and sort the resulting list alphabetically.
58+-- |Strip any kind of path prefix from maintainer names, filter duplicates, and
59+-- sort the resulting list alphabetically.
6060--
6161-- >>> normalizeMaintainers ["self.stdenv.lib.maintainers.foobar", "foobar"]
6262-- ["foobar"]