diff options
author | Stéphan Kochen <git@stephank.nl> | 2022-11-21 11:19:08 +0100 |
---|---|---|
committer | Stéphan Kochen <git@stephank.nl> | 2022-11-21 11:36:18 +0100 |
commit | a567024b44e91099a7ce9ffcd377cf7350c00ffd (patch) | |
tree | 8c59f32160b7f281796454b2c4ae82047279444f /pkgs/development/compilers/swift/swift-docc | |
parent | 72ba29367503fe46b6e4237bcbea4c94f6101bbe (diff) |
swift: add canary to verify no compiler dependency
Diffstat (limited to 'pkgs/development/compilers/swift/swift-docc')
-rw-r--r-- | pkgs/development/compilers/swift/swift-docc/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/swift/swift-docc/default.nix b/pkgs/development/compilers/swift/swift-docc/default.nix index 6f0615fe19357..f85512f840711 100644 --- a/pkgs/development/compilers/swift/swift-docc/default.nix +++ b/pkgs/development/compilers/swift/swift-docc/default.nix @@ -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"; |