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

python2.pkgs.linecache2: don't recompile bytecode

+7 -3
+7 -3
pkgs/development/python-modules/linecache2/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pbr 5 + , isPy3k 5 6 }: 6 7 7 - buildPythonPackage rec { 8 + buildPythonPackage (rec { 8 9 pname = "linecache2"; 9 10 version = "1.0.0"; 10 11 ··· 23 22 homepage = "https://github.com/testing-cabal/linecache2"; 24 23 license = licenses.psfl; 25 24 }; 26 - 27 - } 25 + # TODO: move into main set, this was to avoid a rebuild 26 + } // stdenv.lib.optionalAttrs (!isPy3k ) { 27 + # syntax error in tests. Tests are likely Python 3 only. 28 + dontUsePythonRecompileBytecode = !isPy3k; 29 + })