dprint: fix darwin build
This commit is contained in:
parent
b38cf64f82
commit
5310991808
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchCrate, rustPlatform }:
|
{ lib, stdenv, fetchCrate, rustPlatform, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "dprint";
|
pname = "dprint";
|
||||||
|
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "sha256-ezfVDgZs0QemYHm/o3aX2QGO2WuMweE8LuNZaX4whhw=";
|
cargoSha256 = "sha256-ezfVDgZs0QemYHm/o3aX2QGO2WuMweE8LuNZaX4whhw=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
# Tests fail because they expect a test WASM plugin. Tests already run for
|
# Tests fail because they expect a test WASM plugin. Tests already run for
|
||||||
# every commit upstream on GitHub Actions
|
# every commit upstream on GitHub Actions
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -14513,7 +14513,9 @@ with pkgs;
|
||||||
|
|
||||||
cwltool = callPackage ../applications/science/misc/cwltool { };
|
cwltool = callPackage ../applications/science/misc/cwltool { };
|
||||||
|
|
||||||
dprint = callPackage ../development/tools/dprint { };
|
dprint = callPackage ../development/tools/dprint {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
libcxx = llvmPackages.libcxx;
|
libcxx = llvmPackages.libcxx;
|
||||||
libcxxabi = llvmPackages.libcxxabi;
|
libcxxabi = llvmPackages.libcxxabi;
|
||||||
|
|
Loading…
Reference in a new issue