dprint: fix darwin build

main
Dmitry Kalinkin 2 years ago
parent b38cf64f82
commit 5310991808
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
  1. 4
      pkgs/development/tools/dprint/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

@ -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…
Cancel
Save