Skip to content

Commit

Permalink
tree-wide: convert rust with git deps to importCargoLock
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka committed Mar 26, 2023
1 parent f3a1640 commit f8cbc3c
Show file tree
Hide file tree
Showing 230 changed files with 330,745 additions and 152 deletions.
2,945 changes: 2,945 additions & 0 deletions pkgs/applications/audio/gnome-podcasts/Cargo.lock

Large diffs are not rendered by default.

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
Loading

0 comments on commit f8cbc3c

Please sign in to comment.