Skip to content

Instantly share code, notes, and snippets.

@bennofs
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennofs/83ba218fda04b7e0dd09 to your computer and use it in GitHub Desktop.
Save bennofs/83ba218fda04b7e0dd09 to your computer and use it in GitHub Desktop.
Cabal multiple dependencies with same version
with ((import <nixpkgs> {}).haskellPackages); cabal.mkDerivation (self: {
pname = "test";
version = "1";
src = ./.;
isLibrary = true;
buildDepends = [tastyQuickcheck quickcheckAssertions];
})
import Distribution.Simple
main = defaultMain
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