Skip to content

Commit

Permalink
tree-wide: fixup importCargoLock migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka committed Mar 18, 2023
1 parent 9212b72 commit c027ea2
Show file tree
Hide file tree
Showing 19 changed files with 542 additions and 1,411 deletions.
669 changes: 0 additions & 669 deletions pkgs/applications/accessibility/squeekboard/Cargo.lock

This file was deleted.

9 changes: 5 additions & 4 deletions pkgs/applications/audio/gnome-podcasts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ stdenv.mkDerivation rec {
})
];

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
sha256 = "0y34b5rnr75h7dxbx93mafrmwsh187wq5js7fmkb1m1yyybj1v1x";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"gettext-rs-0.4.2" = "sha256-wyZ1bf0oFcQo8gEi2GEalRUoKMoJYHysu79qcfjd4Ng=";
};
};

nativeBuildInputs = [
Expand Down
8 changes: 5 additions & 3 deletions pkgs/applications/audio/netease-cloud-music-gtk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ stdenv.mkDerivation rec {
hash = "sha256-A3mvf6TZ3+aiWA6rg9G5NMaDKvO0VQzwIM1t0MaTpTc=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
hash = "sha256-Y7rZTbg0zd/eoo6E8TmV8JJPs1N0bLlBjvB6W07Kelg=";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"netease-cloud-music-api-1.0.2" = "sha256-7Yp2ZBg5wHnDPtdPLwZQnqcSlVuGCrXpV5M/dp/IaOE=";
};
};

nativeBuildInputs = [
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/blockchains/lighthouse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ rustPlatform.buildRustPackage rec {

cargoLock = {
lockFile = ./Cargo.lock;
fetchSubmodules = true;
outputHashes = {
"amcl-0.3.0" = "sha256-QoqDj3OZdf4ENPE9ACBC9A/STqCku6sZIt3AMLtpjC4=";
"amcl-0.3.0" = "sha256-Mj4dXTlGVSleFfuTKgVDQ7S3jANMsdtVE5L90WGxA4U=";
"arbitrary-1.2.2" = "sha256-39ZefB5Xok28y8lIdKleILBv4aokY90eMOssxUtU7yA=";
"beacon-api-client-0.1.0" = "sha256-vqTC7bKXgliN7qd5LstNM5O6jRnn4aV/paj88Mua+Bc=";
"ethereum-consensus-0.1.1" = "sha256-aBrZ786Me0BWpnncxQc5MT3r+O0yLQhqGKFBiNTdqSA=";
Expand Down
9 changes: 5 additions & 4 deletions pkgs/applications/graphics/emblem/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-kNPV1SHkNTBXbMzDJGuDbaGz1WkBqMpVgZKjsh7ejmo=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-yhXxlUOe+mWVpAEB0yN9m5S5yfNRrHnx7XHLXbbf1hc=";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"librsvg-2.55.90" = "sha256-IegUvM1HcsRiYS6woaP1aeWKtgBxim9FkdZY9BSscPY=";
};
};

nativeBuildInputs = [
Expand Down
Loading

0 comments on commit c027ea2

Please sign in to comment.