From d42c3dd72f3294f2a5af9bd66858d36aedce32a8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 4 Aug 2020 18:43:41 +0100 Subject: chore(3p): Bump nixpkgs channels Bumps both nixos-unstable and nixos-20.03 to today's versions, as per status.nixos.org Contains minor fixes to things that broke because of the update: * tazjin/frog: hardware.u2f is a deprecated setting * glittershark/system: modSha256 in Go modules is now vendorSha256 * glittershark/owothia: removed version constraint on relude Change-Id: Ib3e9612b1b06ed547b90e4f8b0ffe5ed7fe0a5c4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1642 Tested-by: BuildkiteCI Reviewed-by: glittershark --- users/glittershark/xanthous/src/Xanthous/Orphans.hs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'users/glittershark/xanthous/src/Xanthous/Orphans.hs') diff --git a/users/glittershark/xanthous/src/Xanthous/Orphans.hs b/users/glittershark/xanthous/src/Xanthous/Orphans.hs index 8e82c372b2..39821150ef 100644 --- a/users/glittershark/xanthous/src/Xanthous/Orphans.hs +++ b/users/glittershark/xanthous/src/Xanthous/Orphans.hs @@ -304,16 +304,9 @@ instance forall t name. (NFData t, Monoid t, NFData name) => NFData (Editor t name) where rnf ed = getName @_ @name ed `deepseq` getEditContents ed `deepseq` () -instance NFData StdGen where - -- StdGen's fields are bang-patterned so this is actually correct! - rnf sg = sg `seq` () - deriving via (ReadShowJSON StdGen) instance ToJSON StdGen deriving via (ReadShowJSON StdGen) instance FromJSON StdGen -instance Function StdGen where - function = functionShow - -------------------------------------------------------------------------------- instance CoArbitrary a => CoArbitrary (NonNull a) where -- cgit 1.4.1