Merge pull request #32365 from vcunat/p/check-meta
check meta, treewide
This commit is contained in:
@@ -8,13 +8,15 @@ let
|
||||
x86_64-linux = "1hxlavcxy374yypfamlkygjg662lhll8j434qcvdawkvlidg5ii5";
|
||||
x86_64-darwin = "1jkvhh710gwjnnjx59kaplx2ncfvkx9agfa76rr94sbjqq4igddm";
|
||||
};
|
||||
hash = hashes. ${system} or (throw "missing bootstrap hash for platform ${system}");
|
||||
hash = hashes. ${system} or badSystem;
|
||||
|
||||
badSystem = throw "missing bootstrap hash for platform ${system}";
|
||||
|
||||
platforms = {
|
||||
x86_64-linux = "x86_64-unknown-linux-musl";
|
||||
x86_64-darwin = "x86_64-apple-darwin";
|
||||
};
|
||||
platform = platforms . ${system};
|
||||
platform = platforms . ${system} or badSystem;
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "cargo-vendor-${version}";
|
||||
|
||||
Reference in New Issue
Block a user