forked from mirrors/nixpkgs
python: always unzip eggs installed into the store
grepping and tagging are two use cases coming to mind
This commit is contained in:
parent
62f698dfd3
commit
5c564f26f0
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
, installCommand ?
|
, installCommand ?
|
||||||
''
|
''
|
||||||
easy_install --prefix="$out" .
|
easy_install --always-unzip --prefix="$out" .
|
||||||
''
|
''
|
||||||
|
|
||||||
, buildPhase ? "true"
|
, buildPhase ? "true"
|
||||||
|
@ -47,8 +47,6 @@ python.stdenv.mkDerivation (attrs // {
|
||||||
|
|
||||||
pythonPath = [ setuptools] ++ pythonPath;
|
pythonPath = [ setuptools] ++ pythonPath;
|
||||||
|
|
||||||
# XXX: Should we run `easy_install --always-unzip'? It doesn't seem
|
|
||||||
# to have a noticeable impact on small scripts.
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
|
mkdir -p "$out/lib/${python.libPrefix}/site-packages"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue