Commit 309e5ad6 authored by Francesco Zanini's avatar Francesco Zanini
Browse files

ripgrep-all: avoid producing debug symbols

Upstream enabled `debug = true` for the release profiles, breaking the
`wrapProgram` logic we have in the build.

Additionally, we don't want to have debug symbols produced by default.
parent 95ee0b68
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@ in rustPlatform.buildRustPackage rec {
    };
  };

  # override debug=true set in Cargo.toml upstream
  RUSTFLAGS = "-C debuginfo=none";

  nativeBuildInputs = [ makeWrapper poppler_utils ];
  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;