Merge pull request #261200 from kachick/dprint-fix-build-on-darwin-since-0.41.0

dprint: fix build on darwin

authored by

Weijia Wang and committed by
GitHub
c51014d0 519d6919

+3 -3
+2 -2
pkgs/development/tools/dprint/default.nix
··· 1 - { lib, stdenv, fetchCrate, rustPlatform, Security }: 1 + { lib, stdenv, fetchCrate, rustPlatform, CoreFoundation, Security }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "dprint"; ··· 11 11 12 12 cargoHash = "sha256-DauLzn+QkqTCPubrtasAZmD3DrIXkHk7zd8g589TCCk="; 13 13 14 - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 14 + buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ]; 15 15 16 16 # Tests fail because they expect a test WASM plugin. Tests already run for 17 17 # every commit upstream on GitHub Actions
+1 -1
pkgs/top-level/all-packages.nix
··· 18963 18963 dbt = with python3Packages; toPythonApplication dbt-core; 18964 18964 18965 18965 dprint = callPackage ../development/tools/dprint { 18966 - inherit (darwin.apple_sdk.frameworks) Security; 18966 + inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security; 18967 18967 }; 18968 18968 18969 18969 devbox = callPackage ../development/tools/devbox { buildGoModule = buildGo121Module; };