From f7f0512311cefe81f345805756267c19574619b6 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 29 May 2023 20:16:22 -0400 Subject: [PATCH] swiftPackages.swift-docc: convert swiftFlags to a list --- pkgs/development/compilers/swift/swift-docc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/swift-docc/default.nix b/pkgs/development/compilers/swift/swift-docc/default.nix index 1c8cf4f3736f..e79487e7eded 100644 --- a/pkgs/development/compilers/swift/swift-docc/default.nix +++ b/pkgs/development/compilers/swift/swift-docc/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation { # This works around a failure building generate-symbol-graph: # Sources/generate-symbol-graph/main.swift:13:18: error: module 'SwiftDocC' was not compiled for testing # TODO: Figure out the cause. It doesn't seem to happen outside Nixpkgs. - swiftpmFlags = "--product docc"; + swiftpmFlags = [ "--product docc" ]; # TODO: Tests depend on indexstore-db being provided by an existing Swift # toolchain. (ie. looks for `../lib/libIndexStore.so` relative to swiftc.