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

altermime: fix cross (#462501)

parents 06e280e7 ad8c9408
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -23,7 +23,9 @@ gccStdenv.mkDerivation rec {

  postPatch = ''
    mkdir -p $out/bin
    substituteInPlace Makefile --replace "/usr/local" "$out"
    substituteInPlace Makefile \
      --replace-fail "/usr/local" "$out" \
      --replace-fail "strip " "${gccStdenv.cc.targetPrefix}strip "
  '';

  meta = with lib; {