Skip to content

Commit b6a8c3a

Browse files
committed
update packages
1 parent 5216754 commit b6a8c3a

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

src/Hole/OutServer.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ instance MonadTrans (OutServerT serv) where
4444
lift = OutServerT . lift
4545

4646
instance MonadUnliftIO m => MonadUnliftIO (OutServerT serv m) where
47-
askUnliftIO = OutServerT $
48-
ReaderT $ \r ->
49-
withUnliftIO $ \u ->
50-
return (UnliftIO (unliftIO u . runOutServerT r))
5147
withRunInIO inner = OutServerT $
5248
ReaderT $ \r ->
5349
withRunInIO $ \run ->

src/Hole/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ packet = Packet 0 0
8888
getPacketData :: Packet -> ByteString
8989
getPacketData = packetData
9090

91-
data PacketError = PacketMagicNotMatch | PacketDecodeError String | PacketCrcNotMatch
91+
data PacketError = PacketDecodeError String | PacketCrcNotMatch
9292
deriving (Show, Eq, Ord)
9393

9494
instance Exception PacketError

stack.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# resolver: ./custom-snapshot.yaml
1919
# resolver: https://example.com/snapshots/2018-01-01.yaml
20-
resolver: lts-14.6
20+
resolver: nightly-2021-01-20
2121

2222
# User packages to be built.
2323
# Various formats can be used as shown in the example below.
@@ -42,12 +42,10 @@ packages:
4242
#
4343
# extra-deps: []
4444
extra-deps:
45-
- git: https://github.com/Lupino/metro.git
46-
commit: 48b8c6b473ceed3389140bed6c9dbaadc141e377
47-
subdirs:
48-
- metro-socket
49-
- metro-transport-crypto
50-
- .
45+
- hex-0.2.0@sha256:197d2561d2e216c4ead035b4911dabc6e678ac6257cb71b64e324c822f6f9f5a,726
46+
- metro-0.1.0.4@sha256:8adbca84cf23d4f75babc6f836a6126fcfc6ee1e89e0751b6db62e029205e6a9,1344
47+
- metro-socket-0.1.0.0@sha256:18192146073182bd7fda8f37c5f1cca3516603bb858c737a85f2590a052abc3b,1298
48+
- metro-transport-crypto-0.1.0.0@sha256:d849f1c5fd20a8cb5f74018702dccce8dd191f1ee65315d0442040589acd946f,1551
5149

5250
# Override default flag values for local packages and extra-deps
5351
# flags: {}

0 commit comments

Comments
 (0)