nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.nixpkgs: Fix ImportError with recent pythonix versions

(cherry picked from commit 7bd2c5a6043218a2feab7ef38027d4c5a73554f8)

+10
+10
pkgs/development/python-modules/nixpkgs/default.nix
··· 1 1 { stdenv 2 2 , buildPythonPackage 3 + , fetchpatch 3 4 , fetchPypi 4 5 , pbr 5 6 , pythonix ··· 16 15 inherit pname version; 17 16 sha256 = "0gsrd99kkv99jsrh3hckz7ns1zwndi9vvh4465v4gnpz723dd6fj"; 18 17 }; 18 + 19 + patches = [ 20 + # Patch should be dropped once https://github.com/t184256/nixpkgs-python-importer/pull/7 21 + # is merged and in a release 22 + (fetchpatch { 23 + url = "https://github.com/adisbladis/nixpkgs-python-importer/commit/749e05f1.patch"; 24 + sha256 = "1a72phazpqf6vf3hl3m84z9i5n6h1xpa53bqxnpsff6agxxhd21b"; 25 + }) 26 + ]; 19 27 20 28 buildInputs = [ pbr ]; 21 29 propagatedBuildInputs = [ pythonix ];