crate2nix icon indicating copy to clipboard operation
crate2nix copied to clipboard

With `runTests = true` dev dependencies are not included

Open roman opened this issue 4 years ago • 0 comments

Current Behavior

When specifying a withTest = true via override on a generate crate from crate2nix, the compilation does not work because the doesn't find the dependencies specified in the dev-dependencies section of the Cargo.toml file.

Expected Behavior

When specifying withTests = true, the dev-dependencies from the project are included in the output default.nix and knows how to use them to build and run the tests.

roman avatar Oct 05 '20 21:10 roman