R: manually fix things after patches got applied

This prevents conflicts in case a patch changes the same line

authored by

Sandro and committed by
GitHub
00a52ef6 8dfdd0e4

+1 -1
+1 -1
pkgs/applications/science/math/R/default.nix
··· 35 36 # Test of the examples for package 'tcltk' fails in Darwin sandbox. See: 37 # https://github.com/NixOS/nixpkgs/issues/146131 38 - prePatch = lib.optionalString stdenv.isDarwin '' 39 substituteInPlace configure \ 40 --replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \ 41 --replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \
··· 35 36 # Test of the examples for package 'tcltk' fails in Darwin sandbox. See: 37 # https://github.com/NixOS/nixpkgs/issues/146131 38 + postPatch = lib.optionalString stdenv.isDarwin '' 39 substituteInPlace configure \ 40 --replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib" \ 41 --replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib" \