Skip to content

Commit

Permalink
vtk: qt514 -> qt515
Browse files Browse the repository at this point in the history
  • Loading branch information
tfmoraes committed Dec 15, 2020
1 parent a8d2b7b commit e78a2d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/vtk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
sha256 = "1fspgp8k0myr6p2a6wkc21ldcswb4bvmb484m12mxgk1a9vxrhrl";
};

patches = [
# Fix compilation with Qt 5.15
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sci-libs/vtk/files/vtk-8.2.0-qt-5.15.patch?id=3ca9613d7ad604c93d714e29b116952561e4e41c";
sha256 = "sha256-BFjoKws1hVD3Ly9RS4lGN62J6RTyI1E8ATHrZdzg7ds=";
})
];

nativeBuildInputs = [ cmake ];

buildInputs = [ libtiff ]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16416,7 +16416,7 @@ in
vulkan-tools-lunarg = callPackage ../tools/graphics/vulkan-tools-lunarg { };
vulkan-validation-layers = callPackage ../development/tools/vulkan-validation-layers { };

vtkWithQt5 = vtk.override { qtLib = qt514; };
vtkWithQt5 = vtk.override { qtLib = qt515; };

vxl = callPackage ../development/libraries/vxl {
libpng = libpng12;
Expand Down

0 comments on commit e78a2d3

Please sign in to comment.