about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorEt7f3 <cadeaudeelie@gmail.com>2023-10-10 01:05:22 +0200
committerGitHub <noreply@github.com>2023-10-10 01:05:22 +0200
commitb0b04e6bffbf9337fbdc462a588bfe8f658df09d (patch)
treea89ddc5257d2e7b311589ee7979ebe2888878f99 /pkgs/applications/science
parent8a0223ec08595383ae66cb8de67b70ec28bbb270 (diff)
calc: fix substituteInPlace call
this code has moved in another file so we need to adapt our substituteInPlace
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/calc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/calc/default.nix b/pkgs/applications/science/math/calc/default.nix
index 0c70a6e03b2c3..f598b563d59d1 100644
--- a/pkgs/applications/science/math/calc/default.nix
+++ b/pkgs/applications/science/math/calc/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
   };
 
   postPatch = ''
-    substituteInPlace Makefile \
+    substituteInPlace Makefile.target \
       --replace '-install_name ''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' \
       --replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}'
   '';