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.
This commit is contained in:
Francesco Zanini
2024-10-23 21:45:31 +02:00
parent 95ee0b6830
commit 309e5ad624
+3
View File
@@ -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;