From 81f318f1e124c2cd20b221ee719d541eab86a717 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Mon, 8 Nov 2021 10:38:11 +0100 Subject: [PATCH] flake: fix acextract build (again) --- flake.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d203c1a..80a90a0 100644 --- a/flake.nix +++ b/flake.nix @@ -40,9 +40,27 @@ # FIXME: fix for Swift compiler crash patchPhase = '' patch -p0 <<- EOF + --- acextract/CoreUI.h + +++ acextract/CoreUI.h + @@ -24,6 +24,7 @@ + // SOFTWARE. + + @import Foundation; + +@import CoreGraphics; + + // Hierarchy: + // - CUICatalog: --- acextract/Operation.swift 2021-10-20 10:35:39.000000000 +0200 +++ acextract/Operation.swift 2021-10-20 10:35:46.000000000 +0200 - @@ -152,7 +152,7 @@ + @@ -24,6 +24,7 @@ + // SOFTWARE. + + import Foundation + +import ImageIO + + // MARK: - Protocols + protocol Operation { + @@ -152,7 +153,7 @@ throw ExtractOperationError.cannotCreatePDFDocument } // Create the pdf context