Unverified Commit 1f19e007 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

csdp: fix pkgsStatic build (#418551)

parents 26c8e991 b1aea57b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 = ''