treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
This commit is contained in:
committed by
Jonathan Ringer
parent
c6afa8820b
commit
2c931312ce
@@ -6,7 +6,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = "${pname}";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "01k1fpk2qp4kv0xr4f0xmrjkr98j5ws48r1aks8l80mffs4ynqfr";
|
||||
fetchSubmodules = true;
|
||||
|
||||
Reference in New Issue
Block a user