!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

152 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.41 Servers

Load older messages


SenderMessageTime
15 Jul 2024
@dminca:matrix.orgdminca changed their display name from dminca to nixpkgs.17:28:54
@drupol:matrix.org@drupol:matrix.org left the room.17:40:01
@dminca:matrix.orgdminca changed their display name from nixpkgs to dminca.17:42:30
19 Jul 2024
@easel:matrix.orgeasel changed their profile picture.14:17:16
21 Jul 2024
@katexochen:matrix.orgPaul Meyer (katexochen)https://github.com/NixOS/nixpkgs/pull/328876 | buildGoPackage: deprecate17:09:26
@norihiori:matrix.org@norihiori:matrix.org left the room.18:13:05
22 Jul 2024
@gsaurel:laas.frGuilhem joined the room.08:30:16
@gsaurel:laas.frGuilhem

Hello !
I'm trying to build a static website with hugo. A naive buildPhase = "hugo"; shows that it is trying to build some dependencies:

anr-hercules> go: git init --bare in /build/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in $PATH
anr-hercules> go: git init --bare in /build/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in $PATH
anr-hercules> Total in 5 ms
anr-hercules> Error: failed to load modules: failed to download modules: failed to execute 'go [mod download -modcacherw]': failed to execute binary "go" with args [mod download -modcacherw]: go: git init --bare in /build/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/bf777e9c93e1a481b3d333886ea1bcc13630093f487c405b49f67fc14a20211b: exec: "git": executable file not found in $PATH

Anyone has an example for this use case ? Or could I do something like giving go.mod & go.sum to buildGoModule ?

08:42:55
@katexochen:matrix.orgPaul Meyer (katexochen) Guilhem: might this be helpful to you? https://jnsgr.uk/2024/01/building-a-blog-with-go-nix-hugo/#building-the-blog
See the replacements done in postPatch
08:57:05
@gsaurel:laas.frGuilhemlooks like exactly what I need, thanks !08:57:42
@bashfulrobot.:matrix.orgbashfulrobot joined the room.17:17:00
23 Jul 2024
@kaya:catnip.eekaya changed their profile picture.05:29:54
@ezzobirbezziou:matrix.orgEzzobir Bezziou joined the room.08:20:44
24 Jul 2024
@ftchrist:matrix.org@ftchrist:matrix.org left the room.19:35:47
@kaya:catnip.eekaya changed their profile picture.21:51:35
25 Jul 2024
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+2) to bumperboat.12:47:25
26 Jul 2024
@lnlsn:matrix.orglnlsn joined the room.13:49:20
27 Jul 2024
@aetaric:matrix.orgaetaric joined the room.06:57:04
@aetaric:matrix.orgaetaric set a profile picture.07:04:12
@bumperboat:matrix.org@bumperboat:matrix.org left the room.11:58:49
29 Jul 2024
@kaya:catnip.eekaya changed their profile picture.07:47:18
2 Aug 2024
@marcusramberg:matrix.orgMarcus Mic92: Have you seen https://github.com/nix-community/gomod2nix/pull/165 ? Would be kinda nice to get darwin support back 😅 09:05:30
@octvs:matrix.org@octvs:matrix.org left the room.09:08:48
@marcusramberg:matrix.orgMarcusThanks!09:12:17
6 Aug 2024
@phanirithvij:matrix.orgloudgolemHi I have added a few packages I use fairly regularly, please review https://github.com/NixOS/nixpkgs/pull/332765, thank you18:27:57
7 Aug 2024
@kaya:catnip.eekaya changed their profile picture.09:17:24
8 Aug 2024
@galaxyyy:matrix.orgSaturn left the room.05:37:24
@phanirithvij:matrix.orgloudgolemApologies, I missed the review-requests channel, I will post in the appropriate channel #review-requests:nixos.org from now on.14:06:53
@qyliss:fairydust.spaceAlyssa Ross set a profile picture.18:48:44
10 Aug 2024
@creepinson:matrix.orgTheo Paris joined the room.01:34:59

Show newer messages


Back to Room ListRoom Version: 9