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

Commit 6a36e02

Browse files
committed
[CBR-288] Re-generate pkgs/default.nix
1 parent e338433 commit 6a36e02

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

crypto/Pos/Crypto/Orphans.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Pos.Crypto.Orphans
44
(
55
) where
66

7-
import Universum hiding (show)
7+
import Universum
88

99
import qualified Crypto.SCRAPE as Scrape
1010
import Crypto.Scrypt (EncryptedPass (..))

pkgs/default.nix

-8
Original file line numberDiff line numberDiff line change
@@ -14553,14 +14553,6 @@ hashable
1455314553
integer-gmp
1455414554
memory
1455514555
];
14556-
executableHaskellDepends = [
14557-
base
14558-
basement
14559-
bytestring
14560-
cryptonite
14561-
foundation
14562-
memory
14563-
];
1456414556
doHaddock = false;
1456514557
doCheck = false;
1456614558
homepage = "https://github.com/input-output-hk/cardano-crypto#readme";

tools/src/dbgen/Lib.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ generateWalletDB CLI{..} spec@GenSpec{..} = do
214214

215215
case addTo of
216216
Just accId ->
217-
if (checkIfAddTo fakeUtxoSpec fakeTxs) then
217+
if checkIfAddTo fakeUtxoSpec fakeTxs then
218218
addAddressesTo spec accId
219219
else do
220220
timed $ generateFakeUtxo fakeUtxoSpec accId
@@ -298,7 +298,7 @@ generateRealTxHistE outputAddresses = do
298298
fakeTime <- liftIO $ generate arbitrary
299299
fakeTx <- liftIO $ generate $ genTxs fakeTxOut
300300

301-
pure $ THEntry
301+
pure THEntry
302302
{ _thTxId = fakeTxIds
303303
, _thTx = fakeTx
304304
, _thDifficulty = fakeChain
@@ -329,7 +329,7 @@ generateRealTxHistE outputAddresses = do
329329
let _txOutputs = NE.fromList txOut
330330
let _txAttributes = mkAttributes ()
331331

332-
pure $ UnsafeTx {..}
332+
pure UnsafeTx {..}
333333

334334
-- | Generate sensible amount of coins.
335335
genCoins :: Gen Coin
@@ -374,7 +374,7 @@ unwrapCAddress = decodeCType . cadId
374374

375375

376376
addAddressesTo :: GenSpec -> AccountId -> UberMonad ()
377-
addAddressesTo spec cid = genAddresses spec cid
377+
addAddressesTo = genAddresses
378378

379379

380380
genAccounts :: GenSpec -> (Int, CWallet) -> UberMonad ()
@@ -417,12 +417,12 @@ genWallet walletNum = do
417417
-- | Generates a new 'Mnemonic'.
418418
newRandomMnemonic :: WalletWebMode (Mnemonic 12)
419419
newRandomMnemonic =
420-
liftIO $ (entropyToMnemonic <$> genEntropy)
420+
liftIO (entropyToMnemonic <$> genEntropy)
421421

422422

423423
-- | Creates a new 'CAccount'.
424424
genAccount :: CWallet -> Integer -> UberMonad CAccount
425-
genAccount CWallet{..} accountNum = do
425+
genAccount CWallet{..} accountNum =
426426
newAccountIncludeUnready True RandomSeed mempty accountInit
427427
where
428428
accountInit :: CAccountInit

0 commit comments

Comments
 (0)