cosmic-files: `bin-src` -> `cargo-target-dir`

Avoids hardcoding the path to the binary, making
the packaging more robust.

+2 -5
+2 -5
pkgs/by-name/co/cosmic-files/package.nix
··· 40 "prefix" 41 (placeholder "out") 42 "--set" 43 - "bin-src" 44 - "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-files" 45 - "--set" 46 - "applet-src" 47 - "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-files-applet" 48 ]; 49 50 # This is needed since by setting cargoBuildFlags, it would build both the applet and the main binary
··· 40 "prefix" 41 (placeholder "out") 42 "--set" 43 + "cargo-target-dir" 44 + "target/${stdenv.hostPlatform.rust.cargoShortTarget}" 45 ]; 46 47 # This is needed since by setting cargoBuildFlags, it would build both the applet and the main binary