swift: add canary to verify no compiler dependency

This commit is contained in:
Stéphan Kochen 2022-11-21 11:19:08 +01:00
parent 72ba293675
commit a567024b44
2 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,10 @@ stdenv.mkDerivation {
cp $binPath/sourcekit-lsp $out/bin/
'';
# Canary to verify output of our Swift toolchain does not depend on the Swift
# compiler itself. (Only its 'lib' output.)
disallowedRequisites = [ swift.swift ];
meta = {
description = "Language Server Protocol implementation for Swift and C-based languages";
homepage = "https://github.com/apple/sourcekit-lsp";

View File

@ -39,6 +39,10 @@ stdenv.mkDerivation {
ln -s $renderArtifact/dist $out/share/docc/render
'';
# Canary to verify output of our Swift toolchain does not depend on the Swift
# compiler itself. (Only its 'lib' output.)
disallowedRequisites = [ swift.swift ];
meta = {
description = "Documentation compiler for Swift";
homepage = "https://github.com/apple/swift-docc";