haskellPackages.candid: 0.2 -> 0.3

Turns out the cabal configure flags don't affect the doctest suite
necessarily, so upgrading candid manually is much easier.
This commit is contained in:
sternenseemann 2021-10-01 15:29:40 +02:00
parent b7ee74fff0
commit 35813c6f04

View file

@ -1992,8 +1992,14 @@ EOT
hw-xml = assert pkgs.lib.versionOlder self.generic-lens.version "2.2.0.0"; hw-xml = assert pkgs.lib.versionOlder self.generic-lens.version "2.2.0.0";
doJailbreak super.hw-xml; doJailbreak super.hw-xml;
# doctests fail due to deprecation warnings # doctests fail due to deprecation warnings in 0.2
candid = assert pkgs.lib.versionOlder super.candid.version "0.3"; candid = assert pkgs.lib.versionOlder super.candid.version "0.3";
appendConfigureFlags super.candid [ "--ghc-option=-Wno-deprecations" ]; overrideCabal super.candid (drv: {
version = "0.3";
sha256 = "0zq29zddkkwvlyz9qmxl942ml53m6jawl4m5rkb2510glbkcvr5x";
libraryHaskellDepends = drv.libraryHaskellDepends ++ [
self.file-embed
];
});
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super