Merge pull request #285391 from mpickering/wip/gdal-numpy-wrap
gdal: wrap executables in environment containing numpy
This commit is contained in:
commit
2881b6b08f
@ -198,8 +198,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ darwinDeps
|
||||
++ nonDarwinDeps;
|
||||
|
||||
pythonPath = [ python3.pkgs.numpy ];
|
||||
postInstall = ''
|
||||
wrapPythonPrograms
|
||||
wrapPythonProgramsIn "$out/bin" "$out $pythonPath"
|
||||
'' + lib.optionalString useJava ''
|
||||
cd $out/lib
|
||||
ln -s ./jni/libgdalalljni${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
|
Loading…
Reference in New Issue
Block a user