use LTS 20.19 resolver

This commit is contained in:
2023-05-02 17:27:58 -04:00
parent 0267ce8792
commit d7da4b2924
7 changed files with 29 additions and 27 deletions

View File

@@ -26,7 +26,7 @@ module Types (Status (Status), gen, dbPath, masterPass, database) where
import Lens.Micro (set, (^.))
import Lens.Micro.TH (makeLenses)
import System.Random (RandomGen (next, split), StdGen)
import System.Random (RandomGen (genWord64, split), StdGen)
import Password
@@ -40,8 +40,8 @@ data Status = Status
makeLenses ''Status
instance RandomGen Status where
next s = (x, s') where
(x, g') = next g
genWord64 s = (x, s') where
(x, g') = genWord64 g
s' = set gen g' s
g = s^.gen
split s = (s1, s2) where