Merge pull request #261200 from kachick/dprint-fix-build-on-darwin-since-0.41.0
dprint: fix build on darwin
This commit is contained in:
commit
c51014d069
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, Security }:
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, CoreFoundation, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dprint";
|
||||
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-DauLzn+QkqTCPubrtasAZmD3DrIXkHk7zd8g589TCCk=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
|
||||
|
||||
# Tests fail because they expect a test WASM plugin. Tests already run for
|
||||
# every commit upstream on GitHub Actions
|
||||
|
@ -18963,7 +18963,7 @@ with pkgs;
|
||||
dbt = with python3Packages; toPythonApplication dbt-core;
|
||||
|
||||
dprint = callPackage ../development/tools/dprint {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
||||
devbox = callPackage ../development/tools/devbox { buildGoModule = buildGo121Module; };
|
||||
|
Loading…
Reference in New Issue
Block a user