mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
remove empty readonly site-packages
svn path=/nixpkgs/branches/stdenv-updates/; revision=32590
This commit is contained in:
parent
95f0b6119c
commit
1c504b49b4
@ -64,6 +64,8 @@ let
|
|||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
rm -rf "$out/lib/python${majorVersion}/test"
|
rm -rf "$out/lib/python${majorVersion}/test"
|
||||||
|
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||||
|
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -78,6 +78,8 @@ let
|
|||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
rm -rf "$out/lib/python${majorVersion}/test"
|
rm -rf "$out/lib/python${majorVersion}/test"
|
||||||
|
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||||
|
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -54,6 +54,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm -rf "$out/lib/python${majorVersion}/test"
|
rm -rf "$out/lib/python${majorVersion}/test"
|
||||||
|
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||||
|
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -53,6 +53,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm -rf "$out/lib/python${majorVersion}/test"
|
rm -rf "$out/lib/python${majorVersion}/test"
|
||||||
|
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||||
|
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user