about summary refs log tree commit diff
path: root/pkgs/tools/text/difftastic/default.nix
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-03-26 00:16:46 +0100
committerYureka <yuka@yuka.dev>2023-03-26 01:52:04 +0100
commitf8cbc3c2811337e08b02c9113f01a0f70b900bf4 (patch)
tree86548b4baa603957ffbc493e5a1c6773acc1b8b6 /pkgs/tools/text/difftastic/default.nix
parentf3a1640e49f093c42322944675930eb1fe136ac4 (diff)
tree-wide: convert rust with git deps to importCargoLock
Diffstat (limited to 'pkgs/tools/text/difftastic/default.nix')
-rw-r--r--pkgs/tools/text/difftastic/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix
index 3934f8fbd85c9..b0f88ce32bd39 100644
--- a/pkgs/tools/text/difftastic/default.nix
+++ b/pkgs/tools/text/difftastic/default.nix
@@ -39,7 +39,12 @@ rustPlatform.buildRustPackage rec {
       popd
     '';
   };
-  cargoSha256 = "sha256-iCkBXbwEUooybQ3IY8bxPZwD2tsWFEpVzJ5l2nkF/dg=";
+  cargoLock = {
+    lockFile = ./Cargo.lock;
+    outputHashes = {
+      "tree_magic_mini-3.0.2" = "sha256-iIX/DeDbquObDPOx/pctVFN4R8GSkD9bPNkNgOLdUJs=";
+    };
+  };
 
   passthru.tests.version = testers.testVersion { package = difftastic; };