cosmic-edit: bin-src -> cargo-target-dir

Avoids hardcoding the path to the binary, making
the packaging more robust.
This commit is contained in:
Heitor Augusto
2025-09-30 18:38:26 -03:00
parent b0cf080f74
commit 25b335a430

View File

@@ -53,8 +53,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
"prefix"
(placeholder "out")
"--set"
"bin-src"
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-edit"
"cargo-target-dir"
"target/${stdenv.hostPlatform.rust.cargoShortTarget}"
];
passthru = {