vtk: move headers out of /include/vtk-*
I believe this is a remanant of a global /usr/include which isn't required with Nix and only complicates dependants' build scripts. Backwards compatibility is maintained by way of a symlink.
This commit is contained in:
parent
16a1b346d4
commit
635992489c
|
@ -94,6 +94,10 @@ in stdenv.mkDerivation rec {
|
|||
for lib in $out/lib/libvtk*.so; do
|
||||
ln -s $lib $out/lib/"$(basename "$lib" | sed -e 's/-[[:digit:]]*.[[:digit:]]*//g')"
|
||||
done
|
||||
|
||||
mv $out/include/vtk-${majorVersion}/* $out/include
|
||||
rmdir $out/include/vtk-${majorVersion}
|
||||
ln -s $out/include $out/include/vtk-${majorVersion}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue