Last active
August 29, 2015 14:01
-
-
Save bennofs/83ba218fda04b7e0dd09 to your computer and use it in GitHub Desktop.
Cabal multiple dependencies with same version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with ((import <nixpkgs> {}).haskellPackages); cabal.mkDerivation (self: { | |
pname = "test"; | |
version = "1"; | |
src = ./.; | |
isLibrary = true; | |
buildDepends = [tastyQuickcheck quickcheckAssertions]; | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Distribution.Simple | |
main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
version: 1 | |
license: BSD3 | |
cabal-version: >= 1.10 | |
library | |
default-language: Haskell2010 | |
build-depends: | |
quickcheck-assertions | |
, tasty-quickcheck |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment