buildRustPackage: Don't hardcode registry index hash
Instead, discover it automatically when building the package. This makes `buildRustPackage` more future-proof with respect to changes in how `cargo` generates the hash. Also, it fixes broken builds in i686 because apparently, cargo generates a different registry index hash in this architecture (compared to x86-64).
This commit is contained in:
@@ -11,7 +11,7 @@ buildRustPackage rec {
|
||||
sha256 = "0g420cbqpknhl61a4mpk3bbia8agf657d9vzzcqr338lmni80qz7";
|
||||
};
|
||||
|
||||
depsSha256 = "1wmpd2cjmk59382dq59hmb0xa6fxbnmmaz4nfs96qf613r5ylvra";
|
||||
depsSha256 = "0s951apqcr96lvc1jamk6qw3631gwnlnfgcx55vlznfm7shnmywn";
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user