Skip to content

buildRustCrate should support nix-shell features #37945

@vitiral

Description

@vitiral

Issue description

The following features are currently absent from buildRustCrate which would be excellent for nix-shell:

  • Shell-only dependencies, i.e.being able to use cargo from within the shell without adding build dependencies
  • Setting of environment variables
  • Setting build phases, especially running tests

This issue was brought up in this thread

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions