Skip to content

Commit

Permalink
pythonPackages.html5lib_0_9999999: Fix build
Browse files Browse the repository at this point in the history
Regression introduced by 345b35c.

The commit in question switched the implementation of buildPythonPackage
so that .override now is behaving the same way as for other packages
that are using callPackage.

So the fix for html5lib_0_9999999 is to just use .overridePythonAttrs
instead of .override.

Note that the mentioned commit initially introduced this as
overridePythonPackage but it got later renamed to overridePythonAttrs in
abdb58e.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
  • Loading branch information
aszlig committed Aug 20, 2017
1 parent 7da15a0 commit d25a9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,7 @@ in {
blaze = callPackage ../development/python-modules/blaze { };

# Needed for FlexGet 1.2.337 and calibre 2.76.0
html5lib_0_9999999 = self.html5lib.override rec {
html5lib_0_9999999 = self.html5lib.overridePythonAttrs rec {
name = "html5lib-${version}";
buildInputs = with self; [ nose flake8 ];
propagatedBuildInputs = with self; [ six ];
Expand Down

0 comments on commit d25a9f5

Please sign in to comment.