diff options
author | Joachim Fasting <joachifm@users.noreply.github.com> | 2016-05-07 17:45:32 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@users.noreply.github.com> | 2016-05-07 17:45:32 +0200 |
commit | 0a9b7b31591b8108dc9f91901bc68ef8758359a0 (patch) | |
tree | e305581db7b5f84920bd1e28b6e483215cd6c1fb /pkgs/development/compilers | |
parent | 24b046ce0534f3878ef2647dfbdcc0aa2ae5f80c (diff) | |
parent | 84df0ba64c7571b98b7ef7a9624f684c11569065 (diff) | |
download | nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.tar nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.tar.gz nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.tar.bz2 nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.tar.lz nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.tar.xz nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.tar.zst nixlib-0a9b7b31591b8108dc9f91901bc68ef8758359a0.zip |
Merge pull request #15155 from yawnt/java-source-files
jdk: keep source files for IDE support
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/oraclejdk/jdk-linux-base.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix index fe5b3b712588..79d962cd7ceb 100644 --- a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix +++ b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix @@ -106,7 +106,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 |