mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
jdk: refactor install phase, avoid deleting source files needed for IDE support
This commit is contained in:
parent
f95ba43e8b
commit
84df0ba64c
@ -103,7 +103,8 @@ let result = stdenv.mkDerivation rec {
|
||||
mv $sourceRoot $out
|
||||
fi
|
||||
|
||||
for file in $out/*
|
||||
shopt -s extglob
|
||||
for file in $out/!(*src.zip)
|
||||
do
|
||||
if test -f $file ; then
|
||||
rm $file
|
||||
|
Loading…
Reference in New Issue
Block a user