1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-19 11:27:40 +03:00

Bump sources.nix version to 11

This commit is contained in:
Nicolas Mattia 2019-11-28 10:03:38 +01:00
parent 47eaf09c89
commit 7dafd4116a

View File

@ -134,6 +134,7 @@ data SourcesNixVersion
| V8
| V9
| V10
| V11
deriving stock (Bounded, Enum, Eq)
-- | A user friendly version
@ -149,6 +150,7 @@ sourcesVersionToText = \case
V8 -> "8"
V9 -> "9"
V10 -> "10"
V11 -> "11"
latestVersionMD5 :: T.Text
latestVersionMD5 = sourcesVersionToMD5 maxBound
@ -171,6 +173,7 @@ sourcesVersionToMD5 = \case
V8 -> "e8b860753dd7fa1fd7b805dd836eb607"
V9 -> "87149616c1b3b1e5aa73178f91c20b53"
V10 -> "d8625c0a03dd935e1c79f46407faa8d3"
V11 -> "8a95b7d93b16f7c7515d98f49b0ec741"
-- | The MD5 sum of ./nix/sources.nix
sourcesNixMD5 :: IO T.Text