cosmic-term: 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 19:04:55 -03:00
parent a73b39c504
commit 17e3bb62c9
+2 -2
View File
@@ -47,8 +47,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
"prefix"
(placeholder "out")
"--set"
"bin-src"
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-term"
"cargo-target-dir"
"target/${stdenv.hostPlatform.rust.cargoShortTarget}"
];
passthru = {