treewide: switch to cargoHash (#327127)

* nickel: switch to cargoHash

* gnvim-unwrapped: switch to cargoHash

* surrealdb-migrations: switch to cargoHash

* wluma: switch to cargoHash

* httm: switch to cargoHash

No need (observed) for these packages to have a vendor Cargo.lock. If they for some reason have to use a different Cargo.lock than upstream, they should copy that to the build directory as well, otherwise the build will fail. They don't, so I infer there's no reason to use Cargo.lock.
This commit is contained in:
Aleksana 2024-07-16 03:55:51 +08:00 committed by GitHub
parent 23a62d05e2
commit d582f13e5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 5 additions and 12529 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-VyyHlyMW/9zYECobQwngFARQYqcoXmopyCHUwHolXfo=";
};
cargoLock.lockFile = ./Cargo.lock;
cargoHash = "sha256-uhObLKoQE+r0/ocWA26MpJsSt9RAzKG1XmZsXat+ohg=";
nativeBuildInputs = [
pkg-config

File diff suppressed because it is too large Load Diff

View File

@ -16,9 +16,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-EwiZg0iyF9EQ0Z65Re5WgeV7xgs/wPtTQ9XA0iEMEIQ=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-JwuBjCWETIlBX5xswdznOAmzkL0Rn6cv7pxM6DwAkOs=";
cargoBuildFlags = [ "-p nickel-lang-cli" "-p nickel-lang-lsp" ];

File diff suppressed because it is too large Load Diff

View File

@ -22,9 +22,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-x5WyaVHLVFCHWPqyEuaVSbeIaGXDB0o7h776udcC4DM=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-wANIaEvHtFzAAsly2aqHlYwiKnxHkqH3/0rYs05AkXI=";
buildInputs = [ ]
++ lib.optionals stdenv.isDarwin [ Security ];

File diff suppressed because it is too large Load Diff

View File

@ -15,9 +15,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-aCWhjMXLNx5/wV1HFDtyUuUfpRAxDZhI/Bk7roqZkJ8=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-ZmelNAewyrbiKqlyEwkgxlZToYD53UBZrK0nyqGN3RU=";
nativeBuildInputs = [ installShellFiles ];

File diff suppressed because it is too large Load Diff

View File

@ -38,9 +38,7 @@ rustPlatform.buildRustPackage rec {
'ExecStart=/usr/bin/wluma' 'ExecStart=${placeholder "out"}/bin/wluma'
'';
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoHash = "sha256-BwduYAYIRxc40nn9kloHv+Dt8jLSZViweSYGL5e45YM=";
nativeBuildInputs = [
makeWrapper