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

bayescan: fix cross (#462506)

parents 8a6443de 560ea96b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
  sourceRoot = "BayeScan${version}/source";

  postPatch = ''
    substituteInPlace Makefile --replace "-static" "" \
                               --replace "g++" "c++"
    substituteInPlace Makefile --replace-fail "-static" "" \
                               --replace-fail "g++" "${stdenv.cc.targetPrefix}c++"
  '';

  installPhase = ''