mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 00:54:40 +00:00
Merge pull request #300750 from amarshall/ruby-cargohash-failure
ruby: improve failure message when missing cargoHash
This commit is contained in:
commit
a7721427c1
@ -125,7 +125,7 @@ let
|
|||||||
cargoDeps = if yjitSupport then rustPlatform.fetchCargoTarball {
|
cargoDeps = if yjitSupport then rustPlatform.fetchCargoTarball {
|
||||||
inherit (finalAttrs) src;
|
inherit (finalAttrs) src;
|
||||||
sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}";
|
sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}";
|
||||||
hash = cargoHash;
|
hash = assert cargoHash != null; cargoHash;
|
||||||
} else null;
|
} else null;
|
||||||
|
|
||||||
postUnpack = opString rubygemsSupport ''
|
postUnpack = opString rubygemsSupport ''
|
||||||
|
Loading…
Reference in New Issue
Block a user