diff options
author | Yureka <yuka@yuka.dev> | 2023-03-26 00:16:46 +0100 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-03-26 01:52:04 +0100 |
commit | f8cbc3c2811337e08b02c9113f01a0f70b900bf4 (patch) | |
tree | 86548b4baa603957ffbc493e5a1c6773acc1b8b6 /pkgs/tools/misc/freshfetch/default.nix | |
parent | f3a1640e49f093c42322944675930eb1fe136ac4 (diff) |
tree-wide: convert rust with git deps to importCargoLock
Diffstat (limited to 'pkgs/tools/misc/freshfetch/default.nix')
-rw-r--r-- | pkgs/tools/misc/freshfetch/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/misc/freshfetch/default.nix b/pkgs/tools/misc/freshfetch/default.nix index e73fec1a59429..89ec74b20258e 100644 --- a/pkgs/tools/misc/freshfetch/default.nix +++ b/pkgs/tools/misc/freshfetch/default.nix @@ -20,7 +20,12 @@ rustPlatform.buildRustPackage rec { sha256 = "1l9zngr5l12g71j85iyph4jjri3crxc2pi9q0gczrrzvs03439mn"; }; - cargoSha256 = "sha256-ra29AwUleHVom6Pi5bL1IPqW7yyLYwRtKFvadMB/380="; + cargoLock = { + lockFile = ./Cargo.lock; + outputHashes = { + "clml_rs-0.3.0" = "sha256-KTAm0TCNHGeuOmqmLcZfjl2mQmWcCxWaTPOzA38qbUM="; + }; + }; # freshfetch depends on rust nightly features RUSTC_BOOTSTRAP = 1; |