Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit d323db0

Browse files
author
Ben Ford
committed
[DEVOPS-834] Apply stack2nix patch from buildkite
And stylish.diff from hydra
1 parent 8741c9d commit d323db0

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

Diff for: faucet/src/Cardano/Faucet/Types/Config.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{-# LANGUAGE ConstraintKinds #-}
22
{-# LANGUAGE DataKinds #-}
3-
{-# LANGUAGE DeriveAnyClass #-}
3+
{-# LANGUAGE DeriveAnyClass #-}
44
{-# LANGUAGE DeriveGeneric #-}
55
{-# LANGUAGE DuplicateRecordFields #-}
66
{-# LANGUAGE FlexibleInstances #-}
@@ -48,7 +48,7 @@ import Cardano.Wallet.API.V1.Types (AccountIndex, Payment,
4848
import Cardano.Wallet.Client (ClientError (..), WalletClient (..))
4949
import Pos.Core (Address (..))
5050
import Pos.Util.Mnemonic (Mnemonic)
51-
import Test.QuickCheck (Arbitrary(..), choose)
51+
import Test.QuickCheck (Arbitrary (..), choose)
5252
import Test.QuickCheck.Arbitrary.Generic
5353

5454
import Cardano.Faucet.Types.API
@@ -273,7 +273,7 @@ data FaucetEnv = FaucetEnv {
273273
-- | Client for communicating with wallet API
274274
, _feWalletClient :: !(WalletClient IO)
275275
-- | Lock to ensure only one withdrawal at a time
276-
, _feWithdrawalQ :: !(TBQueue ProcessorPayload)
276+
, _feWithdrawalQ :: !(TBQueue ProcessorPayload)
277277
}
278278

279279
makeClassy ''FaucetEnv

Diff for: faucet/src/Cardano/WalletClient.hs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
{-# LANGUAGE FlexibleContexts #-}
33
{-# LANGUAGE OverloadedStrings #-}
44
{-# LANGUAGE ScopedTypeVariables #-}
5-
{-# LANGUAGE ViewPatterns #-}
65
{-# OPTIONS_GHC -Wall #-}
76
module Cardano.WalletClient (
87
withdraw
@@ -13,7 +12,7 @@ import Cardano.Wallet.API.V1.Types (Payment (..), V1 (..))
1312
import qualified Cardano.Wallet.API.V1.Types as V1
1413
import Control.Concurrent.STM (atomically)
1514
import qualified Control.Concurrent.STM.TBQueue as TBQ
16-
import Control.Concurrent.STM.TMVar (newEmptyTMVar, takeTMVar, TMVar)
15+
import Control.Concurrent.STM.TMVar (TMVar, newEmptyTMVar, takeTMVar)
1716
import Control.Lens
1817
import Control.Monad.IO.Class (liftIO)
1918
import Control.Monad.Reader

Diff for: pkgs/default.nix

+10
Original file line numberDiff line numberDiff line change
@@ -16519,6 +16519,8 @@ license = stdenv.lib.licenses.mit;
1651916519
, ekg-statsd
1652016520
, exceptions
1652116521
, filepath
16522+
, generic-arbitrary
16523+
, hspec
1652216524
, http-api-data
1652316525
, http-client
1652416526
, http-client-tls
@@ -16579,6 +16581,7 @@ ekg-core
1657916581
ekg-statsd
1658016582
exceptions
1658116583
filepath
16584+
generic-arbitrary
1658216585
http-api-data
1658316586
http-client
1658416587
http-client-tls
@@ -16634,9 +16637,16 @@ wai-extra
1663416637
warp
1663516638
];
1663616639
testHaskellDepends = [
16640+
aeson
1663716641
base
16642+
bytestring
16643+
cardano-sl-core
1663816644
cardano-sl-wallet
16645+
cardano-sl-wallet-new
16646+
hspec
16647+
mtl
1663916648
QuickCheck
16649+
time
1664016650
];
1664116651
doHaddock = false;
1664216652
license = stdenv.lib.licenses.mit;

0 commit comments

Comments
 (0)