Loading pkgs/by-name/pd/pdi/package.nix +16 −6 Original line number Diff line number Diff line Loading @@ -41,11 +41,21 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-bbhsMbTVvG19vtkZyOiCRH168kCFk2ahSFc7davfXzo="; }; postPatch = # Current hdf5 version in nixpkgs is 1.14.4.3 which is 4 numbers long and doesn't match the 3 number regex. :') # Patch it to make it match a 4 number-long version. postPatch = '' '' substituteInPlace plugins/decl_hdf5/cmake/FindHDF5.cmake \ --replace-fail '"H5_VERSION[ \t]+\"([0-9]+\\.[0-9]+\\.[0-9]+)' '"H5_VERSION[ \t]+\"([0-9]+\\.[0-9]+\\.[0-9]+(\\.[0-9]+)*)' '' # CMake 4 dropped support of versions lower than 3.5, # versions lower than 3.10 are deprecated. # "https://github.com/NixOS/nixpkgs/issues/445447" + '' substituteInPlace vendor/zpp-1.0.16/zpp/cmake/Zpp.cmake \ --replace-fail \ "cmake_minimum_required(VERSION 3.0)" \ "cmake_minimum_required(VERSION 3.10)" ''; nativeBuildInputs = [ Loading Loading
pkgs/by-name/pd/pdi/package.nix +16 −6 Original line number Diff line number Diff line Loading @@ -41,11 +41,21 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-bbhsMbTVvG19vtkZyOiCRH168kCFk2ahSFc7davfXzo="; }; postPatch = # Current hdf5 version in nixpkgs is 1.14.4.3 which is 4 numbers long and doesn't match the 3 number regex. :') # Patch it to make it match a 4 number-long version. postPatch = '' '' substituteInPlace plugins/decl_hdf5/cmake/FindHDF5.cmake \ --replace-fail '"H5_VERSION[ \t]+\"([0-9]+\\.[0-9]+\\.[0-9]+)' '"H5_VERSION[ \t]+\"([0-9]+\\.[0-9]+\\.[0-9]+(\\.[0-9]+)*)' '' # CMake 4 dropped support of versions lower than 3.5, # versions lower than 3.10 are deprecated. # "https://github.com/NixOS/nixpkgs/issues/445447" + '' substituteInPlace vendor/zpp-1.0.16/zpp/cmake/Zpp.cmake \ --replace-fail \ "cmake_minimum_required(VERSION 3.0)" \ "cmake_minimum_required(VERSION 3.10)" ''; nativeBuildInputs = [ Loading