|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ lib, fetchCrate, rustPlatform }: |
|
|
|
|
{ lib, stdenv, fetchCrate, rustPlatform, Security }: |
|
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec { |
|
|
|
|
pname = "dprint"; |
|
|
|
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec { |
|
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-ezfVDgZs0QemYHm/o3aX2QGO2WuMweE8LuNZaX4whhw="; |
|
|
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ]; |
|
|
|
|
|
|
|
|
|
# Tests fail because they expect a test WASM plugin. Tests already run for |
|
|
|
|
# every commit upstream on GitHub Actions |
|
|
|
|
doCheck = false; |
|
|
|
|