Include Dispatch in swiftformat build inputs

This commit is contained in:
Spotlight 2023-09-26 09:01:19 -05:00
parent a3004c769d
commit 57d1daa766
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

View file

@ -12,10 +12,7 @@ clangStdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ swift swiftpm ]; nativeBuildInputs = [ swift swiftpm ];
buildInputs = [ swiftPackages.Foundation ]; buildInputs = [ swiftPackages.Dispatch swiftPackages.Foundation ];
# We only install the swiftformat binary, so don't need the other products.
swiftpmFlags = [ "--product swiftformat" ];
installPhase = '' installPhase = ''
binPath="$(swiftpmBinPath)" binPath="$(swiftpmBinPath)"