haskellPackages.candid: add workaround for doctest failure
This is fixed properly in candid 0.3 which we'll have soon, but in the meantime we can just disable the offending warning. A real shame that doctests are influenced by compiler warnings.
This commit is contained in:
parent
117ddaaf30
commit
c32ea917d0
1 changed files with 4 additions and 0 deletions
|
@ -1992,4 +1992,8 @@ 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
|
||||||
|
candid = assert pkgs.lib.versionOlder super.candid.version "0.3";
|
||||||
|
appendConfigureFlags super.candid [ "--ghc-option=-Wno-deprecations" ];
|
||||||
|
|
||||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||||
|
|
Loading…
Reference in a new issue