From 57d1daa76658107e6933e2e658797e08869b627c Mon Sep 17 00:00:00 2001 From: Spotlight Date: Tue, 26 Sep 2023 09:01:19 -0500 Subject: [PATCH] Include Dispatch in swiftformat build inputs --- pkgs/swiftformat.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/swiftformat.nix b/pkgs/swiftformat.nix index dc5fb06..c4ba854 100644 --- a/pkgs/swiftformat.nix +++ b/pkgs/swiftformat.nix @@ -12,10 +12,7 @@ clangStdenv.mkDerivation rec { }; nativeBuildInputs = [ swift swiftpm ]; - buildInputs = [ swiftPackages.Foundation ]; - - # We only install the swiftformat binary, so don't need the other products. - swiftpmFlags = [ "--product swiftformat" ]; + buildInputs = [ swiftPackages.Dispatch swiftPackages.Foundation ]; installPhase = '' binPath="$(swiftpmBinPath)"