csdp: fix pkgsStatic build (#418551)

This commit is contained in:
Aleksana
2025-06-21 19:22:02 +08:00
committed by GitHub
+2
View File
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace Makefile --replace /usr/local/bin $out/bin
substituteInPlace lib/Makefile \
--replace-fail 'ar cr' '${stdenv.cc.targetPrefix}ar cr'
'';
preInstall = ''