Merge pull request #300750 from amarshall/ruby-cargohash-failure
ruby: improve failure message when missing cargoHash
This commit is contained in:
commit
a7721427c1
1 changed files with 1 additions and 1 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue