Skip to content

buildRustCrate: Always set some more environment variables #60125

@kolloch

Description

@kolloch

Issue description

The rust crate "built" assumes that certain environment variables are always set -- to an empty string if necessary. This is what cargo does, so let's emulate that.

See nix-community/crate2nix#6 for more details.

Steps to reproduce

See nix-community/crate2nix#6

Technical details

I am preparing a patch to fix this, so I skip this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions