Merge pull request #300750 from amarshall/ruby-cargohash-failure

ruby: improve failure message when missing cargoHash

authored by Mario Rodas and committed by GitHub a7721427 b17718bc

+1 -1
+1 -1
pkgs/development/interpreters/ruby/default.nix
··· 125 125 cargoDeps = if yjitSupport then rustPlatform.fetchCargoTarball { 126 126 inherit (finalAttrs) src; 127 127 sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}"; 128 - hash = cargoHash; 128 + hash = assert cargoHash != null; cargoHash; 129 129 } else null; 130 130 131 131 postUnpack = opString rubygemsSupport ''