crate2nix icon indicating copy to clipboard operation
crate2nix copied to clipboard

`buildRustCrate` is deprecated

Open fogti opened this issue 4 years ago • 5 comments

trace: warning: buildRustCrate is deprecated, use buildRustCrateForPkgs instead

fogti avatar Mar 27 '21 02:03 fogti

this seems to be fixed in latest master. A new release should be made for inclusion in nixpkgs (unstable branches).

fogti avatar Mar 27 '21 02:03 fogti

I don't see it being fixed with the latest master of crate2nix and nixpkgs

ghost avatar Apr 08 '21 08:04 ghost

ah ok, I misinterpreted the warning message, it seems to be caused by the argument template...

fogti avatar Apr 08 '21 08:04 fogti

see https://github.com/kolloch/crate2nix/pull/178

symphorien avatar Apr 14 '21 20:04 symphorien

See also https://github.com/kolloch/crate2nix/pull/200 which means callPackage isn't a problem anymore.

Ericson2314 avatar Oct 05 '21 21:10 Ericson2314