Last active
July 1, 2024 01:29
-
-
Save karlbright/712fb5545c4384ffb2b8a13826ddcb72 to your computer and use it in GitHub Desktop.
...awk4d5-clang-wrapper-16.0.6/bin/ld: line 269: 62128 Killed: 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz"; | |
outputs = { self, nixpkgs }: | |
let | |
overlays = [ (final: prev: { go = prev.go_1_22; }) ]; | |
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; | |
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { | |
pkgs = import nixpkgs { inherit overlays system; }; | |
}); | |
in | |
{ | |
devShells = forEachSupportedSystem ({ pkgs }: { | |
default = pkgs.mkShell { | |
buildInputs = with pkgs; [ pkg-config ]; | |
nativeBuildInputs = with pkgs; [ tesseract leptonica ]; | |
packages = with pkgs; [ go gotools golangci-lint ]; | |
}; | |
}); | |
}; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module fuga | |
go 1.22.3 | |
require github.com/otiai10/gosseract/v2 v2.4.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import _ "github.com/otiai10/gosseract/v2" | |
func main() {} |
Author
karlbright
commented
Jul 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment