From a8f9977c6f84ff55eb03b015da040acc6bc161f4 Mon Sep 17 00:00:00 2001 From: toonn Date: Tue, 15 Nov 2022 15:00:12 +0100 Subject: [PATCH] swiftpm: typo fixes --- pkgs/development/compilers/swift/swiftpm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/swift/swiftpm/default.nix b/pkgs/development/compilers/swift/swiftpm/default.nix index 42461ef0b48d..b321daa3a8c4 100644 --- a/pkgs/development/compilers/swift/swiftpm/default.nix +++ b/pkgs/development/compilers/swift/swiftpm/default.nix @@ -102,7 +102,7 @@ let postInstall = (attrs.postInstall or "") + lib.optionalString stdenv.isDarwin '' # The install name of libraries is incorrectly set to lib/ (via our - # CMake setup hook) instead of lib/swift/. This'd by easily fixed by + # CMake setup hook) instead of lib/swift/. This'd be easily fixed by # fixDarwinDylibNames, but some builds create libraries that reference # eachother, and we also have to fix those references. dylibs="$(find $out/lib/swift* -name '*.dylib')" @@ -155,7 +155,7 @@ let '' + lib.optionalString (!stdenv.isDarwin) '' # The cmake rules apparently only use the Darwin install convention. - # Fix up the installation so to module can be found on non-Darwin. + # Fix up the installation so the module can be found on non-Darwin. mkdir -p $out/${swiftStaticModuleSubdir} mv $out/lib/swift_static/${swiftOs}/*.swiftmodule $out/${swiftStaticModuleSubdir}/ ''; @@ -181,7 +181,7 @@ let '' + lib.optionalString (!stdenv.isDarwin) '' # The cmake rules apparently only use the Darwin install convention. - # Fix up the installation so to module can be found on non-Darwin. + # Fix up the installation so the module can be found on non-Darwin. mkdir -p $out/${swiftStaticModuleSubdir} mv $out/lib/swift_static/${swiftOs}/*.swiftmodule $out/${swiftStaticModuleSubdir}/ '';