zulu, zulu8: 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
27f5088cd2
commit
9cc0da0f7f
2 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,9 @@ in stdenv.mkDerivation {
|
|||
mkdir -p $out
|
||||
cp -r ./* "$out/"
|
||||
|
||||
# jni.h expects jni_md.h to be in the header search path.
|
||||
ln -s $out/include/linux/*_md.h $out/include/
|
||||
|
||||
mkdir -p $out/nix-support
|
||||
printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
|
||||
|
||||
|
|
|
@ -72,6 +72,9 @@ in stdenv.mkDerivation {
|
|||
mkdir -p $out
|
||||
cp -r ./* "$out/"
|
||||
|
||||
# jni.h expects jni_md.h to be in the header search path.
|
||||
ln -s $out/include/linux/*_md.h $out/include/
|
||||
|
||||
mkdir -p $out/nix-support
|
||||
printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
|
||||
|
||||
|
|
Loading…
Reference in a new issue