[Nix-dev] gem nix writes sha256 = "no hash"

Bjørn Forsman bjorn.forsman at gmail.com
Mon Aug 26 21:24:11 CEST 2013


On 10 August 2013 15:03, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> Hi,
>
> When I run "gem nix --nix-file
> pkgs/development/interpreters/ruby/generated.nix", several packages
> get a "no hash" sha256 sum (literally!). Does anyone know why this
> happens and what we can do about it?

Note to self (thanks to phreedom and shlevy on IRC):

"no hash" is (most likely) due to transient network error, and
unfortunately gem nix caches this. The workaround is to remove
~/.gem/nix-sha256.cache and try again.


More information about the nix-dev mailing list