diff --git a/pkgs/development/compilers/swift/swift-format/default.nix b/pkgs/development/compilers/swift/swift-format/default.nix index 95a8f5614ab2..188208ebf492 100644 --- a/pkgs/development/compilers/swift/swift-format/default.nix +++ b/pkgs/development/compilers/swift/swift-format/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation { configurePhase = generated.configure; # We only install the swift-format binary, so don't need the other products. - swiftpmFlags = "--product swift-format"; + swiftpmFlags = [ "--product swift-format" ]; installPhase = '' binPath="$(swiftpmBinPath)"