| 29 Mar 2023 |
@qbit:tapenet.org | :D | 02:11:51 |
@qbit:tapenet.org | seems to build with proxyVendor = true; | 02:14:56 |
@qbit:tapenet.org | usually you only need that when the thing is building with cgo, .. maybe there is a dep that needs it | 02:15:31 |
@qbit:tapenet.org | oh, nope - that failed too | 02:15:45 |
@qbit:tapenet.org | oh, failed test | 02:15:54 |
@qbit:tapenet.org | {
description = "Go interface to Sungrow solar inverters";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
go-sungrow-repo = {
url = "github:MickMake/GoSungrow";
flake = false;
};
};
outputs = { nixpkgs, ... }@inputs:
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
go-sungrow = pkgs.buildGoModule {
pname = "GoSungrow";
version = "3.0.4";
src = inputs.go-sungrow-repo;
vendorSha256 = "sha256-fIlxHJfz7Sm7SHZFVkwgfuhiB1gBLcMW0+IpQ0cgbiM=";
proxyVendor = true;
doCheck = false;
meta = with pkgs.lib; {
description =
"GoLang implementation to access the iSolarButt API updated by SunGrow inverters";
homepage = "https://github.com/MickMake/GoSungrow";
license = licenses.gpl2;
};
};
in {
packages.default = go-sungrow;
packages.tod0 = go-sungrow;
});
}
| 02:19:02 |
@qbit:tapenet.org | that builds for me :D | 02:19:07 |
@peddie:matrix.org | thanks qbit ! how did you determine the SHA sum? | 03:20:13 |
@qbit:tapenet.org | Set it to “” and ram “nix build” | 03:20:49 |
@qbit:tapenet.org | It will error out with the calculated hash | 03:21:18 |
@peddie:matrix.org | oh, great, I see | 03:23:27 |
@peddie:matrix.org | somehow from the nixpkgs manual I had misunderstood that proxyVendor was to be used in lieu of vendorHash. now I get it | 03:23:44 |
@peddie:matrix.org | seems to be running great now. much appreciated, qbit, cheers, thanks again | 03:25:18 |
| 30 Mar 2023 |
| Marcus joined the room. | 18:40:46 |
| 2 Apr 2023 |
| @peddie:matrix.org left the room. | 12:24:16 |
| 4 Apr 2023 |
| [a4]nd[e3]r[s5][o0]n changed their profile picture. | 10:00:36 |
| 7 Apr 2023 |
hexa | hey! anyone taking care of 1.19.8 for 22.11? | 14:22:26 |
hexa | https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8 | 14:22:27 |
hexa | we're still on 1.19.6 there | 14:22:34 |
hexa | cc qbit | 14:22:39 |
@qbit:tapenet.org | Not yet that I have seen | 14:32:36 |
@qbit:tapenet.org | I can make a PR later today | 14:32:48 |
hexa | please | 14:39:07 |
@qbit:tapenet.org | hexa: do I just need to add the backport label to this: https://github.com/NixOS/nixpkgs/pull/224713 ? | 15:04:47 |
hexa | nix-repl> go.version
"1.19.6"
| 15:05:20 |
hexa | that won't apply | 15:05:27 |
hexa | qbit: ^ | 15:06:17 |
hexa | also 1.19 is the primary version of 22.11, so maybe it needs to go through staging? not sure | 15:08:12 |
| 8 Apr 2023 |
@qbit:tapenet.org | hexa: would I make it from the nixos-22.11 branch and target staging in the PR? | 14:38:59 |
@qbit:tapenet.org | is there a doc anywhere describing the process? | 14:39:14 |