diff options
Diffstat (limited to 'pkgs/development/compilers/swift/swift-driver/patches/nix-resource-root.patch')
-rw-r--r-- | pkgs/development/compilers/swift/swift-driver/patches/nix-resource-root.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/compilers/swift/swift-driver/patches/nix-resource-root.patch b/pkgs/development/compilers/swift/swift-driver/patches/nix-resource-root.patch index 6c3ae87d68c98..8c24db5aad1d3 100644 --- a/pkgs/development/compilers/swift/swift-driver/patches/nix-resource-root.patch +++ b/pkgs/development/compilers/swift/swift-driver/patches/nix-resource-root.patch @@ -4,15 +4,15 @@ there, but we also here patch a check to try locate it via NIX_CC. --- a/Sources/SwiftDriver/Jobs/Toolchain+LinkerSupport.swift +++ b/Sources/SwiftDriver/Jobs/Toolchain+LinkerSupport.swift -@@ -9,6 +9,7 @@ - // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +@@ -10,6 +10,7 @@ // //===----------------------------------------------------------------------===// + +import Foundation - import TSCBasic import SwiftOptions -@@ -24,6 +25,13 @@ extension Toolchain { + import protocol TSCBasic.FileSystem +@@ -26,6 +27,13 @@ extension Toolchain { for targetInfo: FrontendTargetInfo, parsedOptions: inout ParsedOptions ) throws -> VirtualPath { |