add fix for orange 3

This commit is contained in:
DavHau 2020-09-16 02:11:48 +07:00
parent a7ebb1f086
commit 7efb5de273
2 changed files with 14 additions and 9 deletions

View file

@ -187,9 +187,8 @@ class CombinedDependencyProvider(DependencyProviderBase):
f"\nIf the package's initial release date predates the release date of mach-nix, " \
f"either upgrade mach-nix itself or manually specify 'pypi_deps_db_commit' and\n" \
f"'pypi_deps_db_sha256 for a newer commit of https://github.com/DavHau/pypi-deps-db/commits/master\n" \
f"If it still doesn't work, there was probably a problem while extracting dependency information " \
f"by the crawler maintaining the database.\n" \
f"Please open an issue here: https://github.com/DavHau/pypi-crawlers/issues/new\n"
f"If it still doesn't work, there was probably a problem while crawling pypi.\n" \
f"Please open an issue at: https://github.com/DavHau/mach-nix/issues/new\n"
print(error_text, file=sys.stderr)
exit(1)

View file

@ -40,12 +40,12 @@ in
# } #
########################################################################
### _cond ###
# possible arguments:
# - prov (provider of the package)
# - ver (version of the package)
# - pyver (python version used)
#
### _cond ####################################
# possible arguments: #
# - prov (provider of the package) #
# - ver (version of the package) #
# - pyver (python version used) #
##############################################
rec {
@ -55,6 +55,12 @@ rec {
};
};
orange3 = {
skipFixup = {
dontFixup = true;
};
};
tensorflow = {
rm-tensorboard = {
_cond = {prov, ... }: prov != "nixpkgs";