calc: fix substituteInPlace call

this code has moved in another file so we need to adapt our substituteInPlace

authored by

Et7f3 and committed by
GitHub
b0b04e6b 8a0223ec

+1 -1
+1 -1
pkgs/applications/science/math/calc/default.nix
··· 21 }; 22 23 postPatch = '' 24 - substituteInPlace Makefile \ 25 --replace '-install_name ''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' \ 26 --replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' 27 '';
··· 21 }; 22 23 postPatch = '' 24 + substituteInPlace Makefile.target \ 25 --replace '-install_name ''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' \ 26 --replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' 27 '';