tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python2.pkgs.linecache2: don't recompile bytecode
Frederik Rietdijk
5 years ago
80f321e8
d9e08203
+7
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
linecache2
default.nix
+7
-3
pkgs/development/python-modules/linecache2/default.nix
reviewed
···
2
2
, buildPythonPackage
3
3
, fetchPypi
4
4
, pbr
5
5
+
, isPy3k
5
6
}:
6
7
7
7
-
buildPythonPackage rec {
8
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
26
-
27
27
-
}
25
25
+
# TODO: move into main set, this was to avoid a rebuild
26
26
+
} // stdenv.lib.optionalAttrs (!isPy3k ) {
27
27
+
# syntax error in tests. Tests are likely Python 3 only.
28
28
+
dontUsePythonRecompileBytecode = !isPy3k;
29
29
+
})