mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
14 lines
441 B
Diff
14 lines
441 B
Diff
--- a/src/helper/args/mod.rs
|
|
+++ b/src/helper/args/mod.rs
|
|
@@ -129,9 +129,7 @@ mod tests {
|
|
|
|
/// Returns the path of the test binary.
|
|
fn get_test_bin() -> String {
|
|
- PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
|
- .join("target")
|
|
- .join("debug")
|
|
+ PathBuf::from("@releaseDir@")
|
|
.join(format!("{}-test", env!("CARGO_PKG_NAME")))
|
|
.to_string_lossy()
|
|
.to_string()
|