Commit b1aea57b authored by Justin Restivo's avatar Justin Restivo
Browse files

csdp: fix pkgsStatic build

parent 0c7cd54a
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 = ''