cabal2nix: re-generate the build files to make sure all dependencies are listed correctly

Fixes https://github.com/NixOS/cabal2nix/issues/203.

Changed files
+13 -14
pkgs
+4 -5
pkgs/development/tools/haskell/cabal2nix/cabal2nix.nix
···
-
{ mkDerivation, ansi-wl-pprint, base, Cabal, containers, distribution-nixpkgs
-
, language-nix, lens, optparse-applicative, pretty
-
, pretty-show, stdenv, fetchFromGitHub, nix-prefetch-scripts, makeWrapper
+
{ mkDerivation, ansi-wl-pprint, base, Cabal, containers
+
, distribution-nixpkgs, fetchFromGitHub, language-nix, lens
+
, optparse-applicative, pretty, pretty-show, stdenv
}:
mkDerivation rec {
···
enableSharedExecutables = false;
executableHaskellDepends = [
ansi-wl-pprint base Cabal containers distribution-nixpkgs
-
language-nix lens optparse-applicative
-
pretty pretty-show
+
language-nix lens optparse-applicative pretty pretty-show
];
executableToolDepends = [ makeWrapper ];
postInstall = ''
+3 -3
pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix
···
{ mkDerivation, aeson, base, bytestring, Cabal, containers, deepseq
-
, deepseq-generics, directory, doctest, filepath, hackage-db, hspec
-
, language-nix, lens, pretty, process, SHA, split, stdenv
-
, transformers, utf8-string, fetchFromGitHub
+
, deepseq-generics, directory, doctest, fetchFromGitHub, filepath
+
, hackage-db, hspec, language-nix, lens, pretty, process, SHA
+
, split, stdenv, transformers, utf8-string
}:
mkDerivation rec {
+2 -2
pkgs/development/tools/haskell/cabal2nix/hackage2nix.nix
···
{ mkDerivation, base, Cabal, containers, distribution-nixpkgs
-
, filepath, language-nix, lens, monad-par, monad-par-extras, mtl
-
, optparse-applicative, pretty, stdenv, fetchFromGitHub
+
, fetchFromGitHub, filepath, language-nix, lens, monad-par
+
, monad-par-extras, mtl, optparse-applicative, pretty, stdenv
}:
mkDerivation rec {
+4 -4
pkgs/development/tools/haskell/cabal2nix/language-nix.nix
···
-
{ mkDerivation, base, deepseq, doctest, lens, pretty, regex-posix
-
, stdenv, fetchFromGitHub, QuickCheck
+
{ mkDerivation, base, deepseq, doctest, fetchFromGitHub, lens
+
, pretty, QuickCheck, regex-posix, stdenv
}:
mkDerivation rec {
···
};
postUnpack = "sourceRoot+=/${pname}";
libraryHaskellDepends = [
-
base deepseq lens pretty regex-posix
+
base deepseq doctest lens pretty QuickCheck regex-posix
];
testHaskellDepends = [
-
base deepseq doctest lens pretty regex-posix QuickCheck
+
base deepseq doctest lens pretty QuickCheck regex-posix
];
homepage = "https://github.com/nixos/cabal2nix#readme";
description = "Data types and useful functions to represent and manipulate the Nix language";