mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +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 =
|
||||
''
|
||||
rm -rf "$out/lib/python${majorVersion}/test"
|
||||
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
@ -78,6 +78,8 @@ let
|
||||
postInstall =
|
||||
''
|
||||
rm -rf "$out/lib/python${majorVersion}/test"
|
||||
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
@ -54,6 +54,8 @@ stdenv.mkDerivation {
|
||||
|
||||
postInstall = ''
|
||||
rm -rf "$out/lib/python${majorVersion}/test"
|
||||
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
@ -53,6 +53,8 @@ stdenv.mkDerivation {
|
||||
|
||||
postInstall = ''
|
||||
rm -rf "$out/lib/python${majorVersion}/test"
|
||||
rm "$out/lib/python${majorVersion}/site-packages/README"
|
||||
rmdir "$out/lib/python${majorVersion}/site-packages/"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user