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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user