ENH update resolver

This commit is contained in:
Nathan Dwarshuis 2022-08-06 18:50:45 -04:00
parent a1b84ab4f2
commit f09f636f56
4 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ module Main (main) where
-- _NET_DESKTOP_VIEWPORT -- _NET_DESKTOP_VIEWPORT
-- 3) Find the name of the xrandr output whose position matches that from (2) -- 3) Find the name of the xrandr output whose position matches that from (2)
import Data.Maybe (catMaybes, maybe) import Data.Maybe
import Graphics.X11.Types import Graphics.X11.Types
import Graphics.X11.Xlib import Graphics.X11.Xlib

View File

@ -15,11 +15,11 @@ import Bitwarden.Internal
import Control.Monad import Control.Monad
import Control.Monad.Reader import Control.Monad.Reader
import Data.Aeson
import Data.List import Data.List
import Data.List.Split (splitOn) import Data.List.Split (splitOn)
import qualified Data.Map as M import qualified Data.Map as M
import Data.Maybe import Data.Maybe
import qualified Data.Text as T
import qualified Data.Vector as V import qualified Data.Vector as V
import Data.Yaml import Data.Yaml
@ -264,7 +264,7 @@ data ProtoAction a = ProtoAction a (RofiMountIO ())
defaultTries :: Integer defaultTries :: Integer
defaultTries = 2 defaultTries = 2
(.:&) :: FromJSON a => Object -> T.Text -> Parser (V.Vector a) (.:&) :: FromJSON a => Object -> Key -> Parser (V.Vector a)
(.:&) o t = o .:? t .!= V.empty (.:&) o t = o .:? t .!= V.empty
data MountConfig = MountConfig data MountConfig = MountConfig

View File

@ -17,7 +17,7 @@
# #
# resolver: ./custom-snapshot.yaml # resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-14.12 resolver: lts-19.17
# User packages to be built. # User packages to be built.
# Various formats can be used as shown in the example below. # Various formats can be used as shown in the example below.

View File

@ -6,7 +6,7 @@
packages: [] packages: []
snapshots: snapshots:
- completed: - completed:
size: 545658 size: 619161
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/12.yaml url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/17.yaml
sha256: 26b807457213126d26b595439d705dc824dbb7618b0de6b900adc2bf6a059406 sha256: 7f47507fd037228a8d23cf830f5844e1f006221acebdd7cb49f2f5fb561e0546
original: lts-14.12 original: lts-19.17