diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-11-07 15:36:46 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-11-12 19:32:30 +0100 |
commit | 3fceafce1eaa82c36a21153efbf7c1ee87af7b0e (patch) | |
tree | 408b8d9c321e2b6092789b190b19816d7002a89d /pkgs/development/python-modules/linecache2 | |
parent | ca6e7454a46ae484505c697e09b5a814320ec640 (diff) | |
download | nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.gz nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.bz2 nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.lz nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.xz nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.tar.zst nixpkgs-3fceafce1eaa82c36a21153efbf7c1ee87af7b0e.zip |
buildPython*: remove pythonRecompileBytecodeHook as dependency
This hook was added to get reproducible bytecode. Because it was causing issues it was disabled, but still kept as a dependency. Now the main issue with bytecode reproducibility has been resolved by updating pip to 20.2.4, we remove this hook as a dependency. If a package with Python code is not yet reproducible, one could add this hook to `nativeBuildInputs`.
Diffstat (limited to 'pkgs/development/python-modules/linecache2')
-rw-r--r-- | pkgs/development/python-modules/linecache2/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/linecache2/default.nix b/pkgs/development/python-modules/linecache2/default.nix index a2c7080e270..ba2525155d3 100644 --- a/pkgs/development/python-modules/linecache2/default.nix +++ b/pkgs/development/python-modules/linecache2/default.nix @@ -5,7 +5,7 @@ , isPy3k }: -buildPythonPackage (rec { +buildPythonPackage rec { pname = "linecache2"; version = "1.0.0"; @@ -23,8 +23,4 @@ buildPythonPackage (rec { homepage = "https://github.com/testing-cabal/linecache2"; license = licenses.psfl; }; -# TODO: move into main set, this was to avoid a rebuild -} // stdenv.lib.optionalAttrs (!isPy3k ) { - # syntax error in tests. Tests are likely Python 3 only. - dontUsePythonRecompileBytecode = !isPy3k; -}) +} |