mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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:
parent
b7ee74fff0
commit
35813c6f04
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue