Merge pull request #153145 from veprbl/pr/dprint_darwin_fix
dprint: fix darwin build
This commit is contained in:
commit
28d58b9792
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -14513,7 +14513,9 @@ with pkgs;
|
|||
|
||||
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;
|
||||
libcxxabi = llvmPackages.libcxxabi;
|
||||
|
|
Loading…
Reference in a new issue