NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.53k stars 13.01k forks source link

gohugo can't start #181113

Open tobiasBora opened 2 years ago

tobiasBora commented 2 years ago

Describe the bug

The hugo tool does not work anymore:

$ nix run nixpkgs#hugo server
Error: failed to download modules: binary with name "go" not found

(same for a nix shell)

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix run nixpkgs#hugo server

Expected behavior

I expect hugo to work directly

Notify maintainers

@schneefux @Br1ght0ne @Frostman

tobiasBora commented 2 years ago

Note that if I install both go and hugo, then it's fine… but I guess go should be added as a dependency in that case no?

kilianar commented 2 years ago

It does work for me with the version from master on x86_64-linux and there weren't any recent changes. May you provide more information about what version of nixpkgs you're using?

tobiasBora commented 1 year ago

So my system is based on unstable, 1ffba9f2f68 (also x86_64), but in the above tests I was running nix run nixpkgs#hugo server that should download the latest nixpkgs version I guess. When I try with nix-shell, I'm not sure which channel is actually chosen by nix-shell, but in case it helps: