Skip to content

Commit 1200a48

Browse files
committed
Core: Internal.Truncation: explicit export list
1 parent d196ba5 commit 1200a48

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

hnix-store-core/src/System/Nix/Internal/Hash.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import qualified Data.Text as T
4040
import System.Nix.Internal.Base
4141
import Data.Coerce (coerce)
4242
import System.Nix.Internal.Truncation
43-
(truncateInNixWay)
4443

4544
-- | The universe of supported hash algorithms.
4645
--

hnix-store-core/src/System/Nix/Internal/Truncation.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
{-# LANGUAGE TypeApplications #-}
33
{-# LANGUAGE DataKinds #-}
44

5-
module System.Nix.Internal.Truncation where
5+
module System.Nix.Internal.Truncation
6+
( truncateInNixWay
7+
)
8+
where
69

710
import qualified Data.ByteString as Bytes
811
import Data.Bits (xor)

0 commit comments

Comments
 (0)