@@ -1,4 +1,4 @@
1−module Cabal2Nix.License ( fromCabalLicense ) where
1+module Distribution.Nixpkgs.Haskell.FromCabal.License ( fromCabalLicense ) where
3import Distribution.Nixpkgs.License
3import Distribution.Nixpkgs.License
4import Distribution.License ( License(..) )
4import Distribution.License ( License(..) )
@@ -27,4 +27,4 @@ fromCabalLicense (Apache Nothing) = Known "stdenv.lib.lice
27fromCabalLicense (Apache (Just (Version [2,0] []))) = Known "stdenv.lib.licenses.asl20"
27fromCabalLicense (Apache (Just (Version [2,0] []))) = Known "stdenv.lib.licenses.asl20"
28fromCabalLicense ISC = Known "stdenv.lib.licenses.isc"
28fromCabalLicense ISC = Known "stdenv.lib.licenses.isc"
29fromCabalLicense OtherLicense = Unknown Nothing
29fromCabalLicense OtherLicense = Unknown Nothing
30−fromCabalLicense l = error $ "Cabal2Nix.License.fromCabalLicense: unknown license " ++ show l
30+fromCabalLicense l = error $ "Distribution.Nixpkgs.Haskell.FromCabal.License.fromCabalLicense: unknown license " ++ show l