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

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

+2 -2
+2 -2
pkgs/by-name/co/cosmic-applibrary/package.nix
··· 36 36 "prefix" 37 37 (placeholder "out") 38 38 "--set" 39 - "bin-src" 40 - "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-app-library" 39 + "cargo-target-dir" 40 + "target/${stdenv.hostPlatform.rust.cargoShortTarget}" 41 41 ]; 42 42 43 43 postPatch = ''