cosmic-greeter: `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-greeter/package.nix
··· 57 57 "prefix" 58 58 (placeholder "out") 59 59 "--set" 60 - "bin-src" 61 - "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-greeter" 62 - "--set" 63 - "daemon-src" 64 - "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-greeter-daemon" 60 + "cargo-target-dir" 61 + "target/${stdenv.hostPlatform.rust.cargoShortTarget}" 65 62 ]; 66 63 67 64 postPatch = ''