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

ruby: improve failure message when missing cargoHash
This commit is contained in:
Mario Rodas 2024-04-15 20:55:08 -05:00 committed by GitHub
commit a7721427c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ let
cargoDeps = if yjitSupport then rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}";
hash = cargoHash;
hash = assert cargoHash != null; cargoHash;
} else null;
postUnpack = opString rubygemsSupport ''