diff options
Diffstat (limited to 'pkgs/development/compilers/swift/swift-docc/default.nix')
-rw-r--r-- | pkgs/development/compilers/swift/swift-docc/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/swift/swift-docc/default.nix b/pkgs/development/compilers/swift/swift-docc/default.nix index f85512f840711..1c8cf4f3736f4 100644 --- a/pkgs/development/compilers/swift/swift-docc/default.nix +++ b/pkgs/development/compilers/swift/swift-docc/default.nix @@ -28,6 +28,12 @@ stdenv.mkDerivation { configurePhase = generated.configure; + # We only install the docc binary, so don't need the other products. + # 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"; + # TODO: Tests depend on indexstore-db being provided by an existing Swift # toolchain. (ie. looks for `../lib/libIndexStore.so` relative to swiftc. #doCheck = true; |