Unverified Commit b758e1ad authored by ttuegel's avatar ttuegel
Browse files

update Nix expressions

parent 28af355b
{ mkDerivation, array, base, binary, bytestring, containers
, deepseq, directory, exceptions, filepath, old-time, pretty
, process, QuickCheck, regex-posix, stdenv, tagged, tasty
, tasty-hunit, tasty-quickcheck, time, transformers, unix
, deepseq, directory, filepath, pretty, process, QuickCheck, stdenv
, tagged, tasty, tasty-hunit, tasty-quickcheck, time, unix
}:
mkDerivation {
pname = "Cabal";
version = "1.25.0.0";
src = ./Cabal;
src = ./.;
libraryHaskellDepends = [
array base binary bytestring containers deepseq directory filepath
pretty process time unix
];
testHaskellDepends = [
array base bytestring containers directory exceptions filepath
old-time pretty process QuickCheck regex-posix tagged tasty
tasty-hunit tasty-quickcheck time transformers unix
array base containers directory filepath pretty QuickCheck tagged
tasty tasty-hunit tasty-quickcheck
];
doCheck = false;
homepage = "http://www.haskell.org/cabal/";
......
{ mkDerivation, array, async, base, base16-bytestring, binary
, bytestring, Cabal, containers, cryptohash-sha256, deepseq
, directory, filepath, hackage-security, hashable, HTTP, mtl
, network, network-uri, pretty, pretty-show, process, QuickCheck
, random, regex-posix, stdenv, stm, tagged, tar, tasty, tasty-hunit
, tasty-quickcheck, time, unix, zlib
, directory, echo, edit-distance, filepath, hackage-security
, hashable, HTTP, mtl, network, network-uri, pretty, pretty-show
, process, QuickCheck, random, regex-posix, stdenv, stm, tagged
, tar, tasty, tasty-hunit, tasty-quickcheck, time, unix, zlib
}:
mkDerivation {
pname = "cabal-install";
version = "1.25.0.0";
src = ./cabal-install;
src = ./.;
isLibrary = false;
isExecutable = true;
setupHaskellDepends = [ base Cabal filepath process ];
executableHaskellDepends = [
array async base base16-bytestring binary bytestring Cabal
containers cryptohash-sha256 deepseq directory filepath
hackage-security hashable HTTP mtl network network-uri pretty
process random stm tar time unix zlib
containers cryptohash-sha256 deepseq directory echo edit-distance
filepath hackage-security hashable HTTP mtl network network-uri
pretty process random stm tar time unix zlib
];
testHaskellDepends = [
array async base base16-bytestring binary bytestring Cabal
......@@ -25,6 +25,7 @@ mkDerivation {
pretty-show process QuickCheck random regex-posix stm tagged tar
tasty tasty-hunit tasty-quickcheck time unix zlib
];
doCheck = false;
postInstall = ''
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
......
......@@ -16,7 +16,11 @@ let
in
haskellPackages.override {
overrides = self: super: {
Cabal = filterSource (self.callPackage ./Cabal.nix {});
cabal-install = filterSource (lib.dontCheck (self.callPackage ./cabal-install.nix {}));
Cabal =
filterSource (self.callPackage ./Cabal {});
cabal-install =
filterSource (lib.dontCheck (self.callPackage ./cabal-install {}));
hackage-security =
lib.dontCheck super.hackage-security;
};
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment