mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
adoptopenjdk-bin: link jni_md.h to include folder
See https://discourse.nixos.org/t/nix-shell-environment-to-debug-a-build-of-an-r-package/11010/4
This commit is contained in:
parent
f9d4095295
commit
27f5088cd2
|
@ -23,6 +23,9 @@ let cpuName = stdenv.hostPlatform.parsed.cpu.name;
|
|||
|
||||
mv $sourceRoot $out
|
||||
|
||||
# jni.h expects jni_md.h to be in the header search path.
|
||||
ln -s $out/Contents/Home/include/darwin/*_md.h $out/Contents/Home/include/
|
||||
|
||||
rm -rf $out/Home/demo
|
||||
|
||||
# Remove some broken manpages.
|
||||
|
|
|
@ -65,6 +65,9 @@ let result = stdenv.mkDerivation rec {
|
|||
|
||||
mv $sourceRoot $out
|
||||
|
||||
# jni.h expects jni_md.h to be in the header search path.
|
||||
ln -s $out/include/linux/*_md.h $out/include/
|
||||
|
||||
rm -rf $out/demo
|
||||
|
||||
# Remove some broken manpages.
|
||||
|
|
Loading…
Reference in a new issue