about summary refs log tree commit diff
path: root/pkgs/development/tools/haskell
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-09-07 14:17:45 +0200
committerPeter Simons <simons@cryp.to>2015-09-07 16:03:28 +0200
commitd4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca (patch)
treea6e51bb8f36dbb874e3cbd6ec85a096efe0481fe /pkgs/development/tools/haskell
parentafdbfd9552eb74463a42919888816baaaaf37230 (diff)
downloadnixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.tar
nixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.tar.gz
nixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.tar.bz2
nixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.tar.lz
nixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.tar.xz
nixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.tar.zst
nixlib-d4f7bf9c2983bf1a793c0fd5b4ea82a04bb8efca.zip
cabal2nix: re-generate the build files to make sure all dependencies are listed correctly
Fixes https://github.com/NixOS/cabal2nix/issues/203.
Diffstat (limited to 'pkgs/development/tools/haskell')
-rw-r--r--pkgs/development/tools/haskell/cabal2nix/cabal2nix.nix9
-rw-r--r--pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix6
-rw-r--r--pkgs/development/tools/haskell/cabal2nix/hackage2nix.nix4
-rw-r--r--pkgs/development/tools/haskell/cabal2nix/language-nix.nix8
4 files changed, 13 insertions, 14 deletions
diff --git a/pkgs/development/tools/haskell/cabal2nix/cabal2nix.nix b/pkgs/development/tools/haskell/cabal2nix/cabal2nix.nix
index 537e427f66c1..006f8eb1f980 100644
--- a/pkgs/development/tools/haskell/cabal2nix/cabal2nix.nix
+++ b/pkgs/development/tools/haskell/cabal2nix/cabal2nix.nix
@@ -1,6 +1,6 @@
-{ 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 {
@@ -18,8 +18,7 @@ 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 = ''
diff --git a/pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix b/pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix
index 3262008e25a3..0fcf9b3979dc 100644
--- a/pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix
+++ b/pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix
@@ -1,7 +1,7 @@
 { 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 {
diff --git a/pkgs/development/tools/haskell/cabal2nix/hackage2nix.nix b/pkgs/development/tools/haskell/cabal2nix/hackage2nix.nix
index 28a767e31f00..6ef1c5a03f47 100644
--- a/pkgs/development/tools/haskell/cabal2nix/hackage2nix.nix
+++ b/pkgs/development/tools/haskell/cabal2nix/hackage2nix.nix
@@ -1,6 +1,6 @@
 { 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 {
diff --git a/pkgs/development/tools/haskell/cabal2nix/language-nix.nix b/pkgs/development/tools/haskell/cabal2nix/language-nix.nix
index ea282d751018..d8c0d9071bcf 100644
--- a/pkgs/development/tools/haskell/cabal2nix/language-nix.nix
+++ b/pkgs/development/tools/haskell/cabal2nix/language-nix.nix
@@ -1,5 +1,5 @@
-{ mkDerivation, base, deepseq, doctest, lens, pretty, regex-posix
-, stdenv, fetchFromGitHub, QuickCheck
+{ mkDerivation, base, deepseq, doctest, fetchFromGitHub, lens
+, pretty, QuickCheck, regex-posix, stdenv
 }:
 
 mkDerivation rec {
@@ -13,10 +13,10 @@ 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";