mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2025-01-05 19:00:24 +03:00
Fix build on GHC 8.4
This commit is contained in:
parent
a9312d91d3
commit
2ad76d2b8b
@ -10,5 +10,7 @@
|
||||
in {
|
||||
haskellPackages =
|
||||
pkgs.haskellPackages.override overrideHaskellPackages;
|
||||
haskell844Packages =
|
||||
pkgs.haskell.packages.ghc844.override overrideHaskellPackages;
|
||||
inherit pkgs;
|
||||
}
|
||||
|
@ -10,8 +10,13 @@ Description : Representation of Nix store paths.
|
||||
{-# LANGUAGE TypeApplications #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# LANGUAGE AllowAmbiguousTypes #-}
|
||||
{-# LANGUAGE TypeInType #-} -- Needed for GHC 8.4.4 for some reason
|
||||
module System.Nix.Internal.StorePath where
|
||||
import System.Nix.Hash (HashAlgorithm(Truncated, SHA256), Digest, encodeBase32)
|
||||
import System.Nix.Hash
|
||||
( HashAlgorithm(Truncated, SHA256)
|
||||
, Digest
|
||||
, encodeBase32
|
||||
)
|
||||
import Text.Regex.Base.RegexLike (makeRegex, matchTest)
|
||||
import Text.Regex.TDFA.Text (Regex)
|
||||
import Data.Text (Text)
|
||||
|
Loading…
Reference in New Issue
Block a user