We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194261b commit 8dd4805Copy full SHA for 8dd4805
hnix-store-core/tests/Hash.hs
@@ -23,7 +23,7 @@ import Test.Tasty.QuickCheck
23
import Text.Read (readMaybe)
24
25
import System.Nix.Hash
26
-import System.Nix.Path
+import System.Nix.StorePath
27
import NarFormat -- TODO: Move the fixtures into a common module
28
29
spec_hash :: Spec
@@ -45,5 +45,5 @@ spec_hash = do
45
let exampleStr =
46
"source:sha256:2bfef67de873c54551d884fdab3055d84d573e654efa79db3"
47
<> "c0d7b98883f9ee3:/nix/store:myfile"
48
- shouldBe (encodeBase32 @PathHashAlgo (hash exampleStr))
+ shouldBe (encodeBase32 @StorePathHashAlgo (hash exampleStr))
49
"xv2iccirbrvklck36f1g7vldn5v58vck"
0 commit comments