git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit635992489cf0ceb53eb25ccd45bddef53afb2483 authorckie <git-525ff67@ckie.dev> dateWed 9 Feb 2022, 12:59 (5 years ago) parent16a1b34
1 file changed+4
pkgs/development/libraries/vtk/generic.nix+4
pkgs/development/libraries/vtk/generic.nix+4
@@ -94,6 +94,10 @@ in stdenv.mkDerivation rec {
9494 for lib in $out/lib/libvtk*.so; do
9595 ln -s $lib $out/lib/"$(basename "$lib" | sed -e 's/-[[:digit:]]*.[[:digit:]]*//g')"
9696 done
97+
98+ mv $out/include/vtk-${majorVersion}/* $out/include
99+ rmdir $out/include/vtk-${majorVersion}
100+ ln -s $out/include $out/include/vtk-${majorVersion}
97101 '';
98102
99103 meta = with lib; {