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