git.iko.soy/typeable/cabal2nix
on master help sign in
cabal2nix.cabal: added other-modules section to make sure 'cabal sdist' generates a complete archive
commita7e0219463aad3055d158a23174e39d65cc6981b authorPeter Simons <simons@cryp.to> dateWed 10 Aug 2011, 17:39 (15 years ago) parent9cc757b
1 file changed+15−3
cabal2nix.cabal+15−3
cabal2nix.cabal+15−3
@@ -1,5 +1,5 @@
11Name: cabal2nix
2−Version: 1.8
2+Version: 1.9
33Copyright: (c) 2011 Peter Simons and Andres Loeh
44License: BSD3
55License-File: LICENSE
@@ -30,8 +30,8 @@ Description:
3030 .
3131 The only required argument is the path to the cabal file. For example:
3232 .
33− > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.8/cabal2nix.cabal
34− > cabal2nix cabal://cabal2nix-1.8
33+ > cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.9/cabal2nix.cabal
34+ > cabal2nix cabal://cabal2nix-1.9
3535 .
3636 If the @--sha256@ option has not been specified, cabal2nix calls
3737 @nix-prefetch-url@ to determine the hash automatically. This causes
@@ -46,6 +46,12 @@ Executable cabal2nix
4646 hs-source-dirs: src
4747 Build-Depends: base >= 3 && < 5, Cabal, process, HTTP, pretty, filepath, directory
4848 Ghc-Options: -Wall
49+ other-modules: Cabal2Nix.Pretty
50+ Cabal2Nix.License
51+ Cabal2Nix.Name
52+ Cabal2Nix.CorePackages
53+ Cabal2Nix.Package
54+ Cabal2Nix.Hackage
4955
5056Executable hackage4nix
5157 main-is: Hackage4Nix.hs
@@ -53,3 +59,9 @@ Executable hackage4nix
5359 Build-Depends: base >= 3 && < 5, Cabal, pretty, filepath, directory, bytestring,
5460 regex-posix, mtl, containers
5561 Ghc-Options: -Wall
62+ other-modules: Cabal2Nix.Pretty
63+ Cabal2Nix.License
64+ Cabal2Nix.Name
65+ Cabal2Nix.CorePackages
66+ Cabal2Nix.Package
67+ Cabal2Nix.Hackage