git.iko.soy/typeable/cabal2nix
on master help sign in
src/Cabal2Nix/Name.hs: cosmetic, no functional change
commit801e2ae47a314a7c42bd44a74cccc693592fb2ca authorPeter Simons <simons@cryp.to> dateFri 19 Aug 2011, 14:37 (15 years ago) parentcbf4889
1 file changed+21−21
src/Cabal2Nix/Name.hs+21−21
src/Cabal2Nix/Name.hs+21−21
@@ -16,24 +16,24 @@ toNixName name = f name
1616-- possibility of name clashes with Haskell libraries. I have included
1717-- identity mappings to incicate that I have verified their correctness.
1818libNixName :: String -> [String]
19−libNixName "adns" = return "adns"
20−libNixName "cairo" = return "cairo"
21−libNixName "cairo-pdf" = return "cairo"
22−libNixName "cairo-ps" = return "cairo"
23−libNixName "cairo-svg" = return "cairo"
24−libNixName "crypto" = return "openssl"
25−libNixName "gnome-keyring" = return "gnome_keyring"
26−libNixName "gnome-keyring-1" = return "gnome_keyring"
27−libNixName "idn" = return "idn"
28−libNixName "libidn" = return "idn"
29−libNixName "libzip" = return "libzip"
30−libNixName "m" = [] -- in stdenv
31−libNixName "pcre" = return "pcre"
32−libNixName "pq" = return "postgresql"
33−libNixName "sndfile" = return "libsndfile"
34−libNixName "sqlite3" = return "sqlite"
35−libNixName "stdc++" = [] -- in stdenv
36−libNixName "xft" = return "libXft"
37−libNixName "X11" = return "libX11"
38−libNixName "z" = return "zlib"
39−libNixName x = return x
19+libNixName "adns" = return "adns"
20+libNixName "cairo-pdf" = return "cairo"
21+libNixName "cairo-ps" = return "cairo"
22+libNixName "cairo" = return "cairo"
23+libNixName "cairo-svg" = return "cairo"
24+libNixName "crypto" = return "openssl"
25+libNixName "gnome-keyring-1" = return "gnome_keyring"
26+libNixName "gnome-keyring" = return "gnome_keyring"
27+libNixName "idn" = return "idn"
28+libNixName "libidn" = return "idn"
29+libNixName "libzip" = return "libzip"
30+libNixName "m" = [] -- in stdenv
31+libNixName "pcre" = return "pcre"
32+libNixName "pq" = return "postgresql"
33+libNixName "sndfile" = return "libsndfile"
34+libNixName "sqlite3" = return "sqlite"
35+libNixName "stdc++" = [] -- in stdenv
36+libNixName "X11" = return "libX11"
37+libNixName "xft" = return "libXft"
38+libNixName "z" = return "zlib"
39+libNixName x = return x