Skip to content

Commit

Permalink
Merge pull request #644 from NixOS/text-2.1.2
Browse files Browse the repository at this point in the history
cabal2nix: fix missing qualified on a Data.Text import
  • Loading branch information
sternenseemann authored Feb 6, 2025
2 parents 6c25fe0 + 60be296 commit 04e8308
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Control.Monad.Fail
import Data.Aeson
import Data.Map as Map
import Data.Set as Set
import Data.Text as T
import qualified Data.Text as T
import Data.Yaml
import Distribution.Compiler
import Distribution.Nixpkgs.Haskell.Constraint
Expand Down Expand Up @@ -105,7 +105,7 @@ instance FromJSONKey Identifier where
instance FromJSONKey PackageName where
fromJSONKey = FromJSONKeyText parseKey

parseKey :: FromJSON k => Text -> k
parseKey :: FromJSON k => T.Text -> k
parseKey s = either error id (parseEither parseJSON (String s))

readConfiguration :: FilePath -> IO Configuration
Expand Down

0 comments on commit 04e8308

Please sign in to comment.