Skip to content

Add nix flake to allow Nix users to easily use bevy_cli #368

@mahlquistj

Description

@mahlquistj

I've done this in a fork of my own, but didn't want to submit a PR if this isn't something that is wanted in this crate.

The nix flake adds a devshell for developers of the repo to use, as well as a package that users can install in their nix configurations.

Why

Nixos and bevy doesn't play very nicely as it is, so i wanted to make contributions where i could. As a nix user myself, it sucks to not be able to use the tooling surrounding bevy easily - The flake solves this.

Problems

As of now, i've had to skip the following tests to get the flake to work:

  • should_build_native_dev
  • should_build_native_release
  • should_build_web_dev
  • should_build_web_release

For some reason cargo can't find the locked version of bevy, when checking these test during the flake's checkPhase

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BuildRelated to the bevy build commandC-UsabilityAn improvement that makes the API more pleasantD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions