Skip to content

Commit

Permalink
local convenience stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
teodanciu committed May 20, 2022
1 parent c0ab190 commit e2dcc69
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion eras/alonzo/impl/cardano-ledger-alonzo.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ common project-config
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
-Wunused-packages
-- -Wunused-packages

library
import: base, project-config
Expand Down
10 changes: 9 additions & 1 deletion eras/byron/crypto/src/Cardano/Crypto/Encryption.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ module Cardano.Crypto.Encryption
)
where

import Cardano.Prelude hiding (init)
import Cardano.Prelude
( ($),
Eq,
Show,
Applicative((<*>), pure),
Generic,
Either,
(<$>),
ByteString )
import Crypto.Cipher.AES (AES256)
import Crypto.Cipher.Types (BlockCipher (..), cipherInit, ctrCombine, nullIV)
import Crypto.Error (CryptoError, eitherCryptoError)
Expand Down
2 changes: 1 addition & 1 deletion eras/byron/ledger/impl/cardano-ledger-byron.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common project-config
-Wno-prepositive-qualified-module
-Wno-safe
-Wno-unsafe
-Wunused-packages
-- -Wunused-packages

library
import: base, project-config
Expand Down
2 changes: 1 addition & 1 deletion eras/shelley-ma/impl/cardano-ledger-shelley-ma.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ common project-config
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
-- -Wunused-packages

library
import: base, project-config
Expand Down
2 changes: 1 addition & 1 deletion eras/shelley/impl/cardano-ledger-shelley.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ common project-config
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
-- -Wunused-packages

library
import: base, project-config
Expand Down
2 changes: 1 addition & 1 deletion eras/shelley/test-suite/cardano-ledger-shelley-test.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ common project-config
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wunused-packages
-- -Wunused-packages

library
import: base, project-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import Cardano.Ledger.Serialization
groupRecord,
)
import Cardano.Prelude
( Exception,
( --Exception,
ExitCode (..),
forM_,
throwIO,
Expand Down
2 changes: 1 addition & 1 deletion libs/cardano-data/cardano-data.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ common project-config
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wunused-packages
-- -Wunused-packages

library
import: base, project-config
Expand Down
2 changes: 1 addition & 1 deletion libs/cardano-ledger-core/cardano-ledger-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ common project-config
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
-- -Wunused-packages

library
import:
Expand Down

0 comments on commit e2dcc69

Please sign in to comment.