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 5978255 commit 5fddf3cCopy full SHA for 5fddf3c
hnix-store-core/src/System/Nix/ReadonlyStore.hs
@@ -8,6 +8,7 @@ module System.Nix.ReadonlyStore where
8
9
import Data.ByteString ( ByteString )
10
import qualified Data.ByteString as BS
11
+import Data.List ( sort )
12
import qualified Data.Text as T
13
import qualified Data.HashSet as HS
14
import Data.Text.Encoding
@@ -41,7 +42,7 @@ makeTextPath
41
42
makeTextPath fp nm h refs = makeStorePath fp ty h nm
43
where
44
ty =
- BS.intercalate ":" ("text" : fmap storePathToRawFilePath (HS.toList refs))
45
+ BS.intercalate ":" ("text" : sort (fmap storePathToRawFilePath (HS.toList refs)))
46
47
makeFixedOutputPath
48
:: forall hashAlgo
0 commit comments