git.iko.soy/typeable/cabal2nix
on master help sign in
README.md: update the cabal2nix sample output to match current versions
commit6dd6217ff284b7749929b5a0bf654a775f1091a5 authorPeter Simons <simons@cryp.to> dateFri 28 Apr 2017, 13:26 (9 years ago) parent27fa375
1 file changed+2−3
README.md+2−3
README.md+2−3
@@ -10,13 +10,12 @@ For example:
1010 pname = "mtl";
1111 version = "2.2.1";
1212 sha256 = "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa";
13− buildDepends = [ base transformers ];
13+ libraryHaskellDepends = [ base transformers ];
1414 homepage = "http://github.com/ekmett/mtl";
1515 description = "Monad classes, using functional dependencies";
1616 license = stdenv.lib.licenses.bsd3;
1717 }
1818
19−
2019Cabal files can be referred to using the magic URL `cabal://NAME-VERSION`,
2120which will automatically download the file from Hackage. Alternatively, a
2221direct `http://host/path/pkg.cabal` URL can be provided, as well as a
@@ -41,7 +40,7 @@ on the local file system:
4140 pname = "mtl";
4241 version = "2.2.1";
4342 src = ./.;
44− buildDepends = [ base transformers ];
43+ libraryHaskellDepends = [ base transformers ];
4544 homepage = "http://github.com/ekmett/mtl";
4645 description = "Monad classes, using functional dependencies";
4746 license = stdenv.lib.licenses.bsd3;