cabal2nix: re-generate the build files to make sure all dependencies are listed correctly
Fixes https://github.com/NixOS/cabal2nix/issues/203.
This commit is contained in:
parent
afdbfd9552
commit
d4f7bf9c29
@ -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 = ''
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user