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