about summary refs log tree commit diff
path: root/pkgs/applications/graphics/emblem/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/applications/graphics/emblem/default.nix
parentf3a1640e49f093c42322944675930eb1fe136ac4 (diff)
tree-wide: convert rust with git deps to importCargoLock
Diffstat (limited to 'pkgs/applications/graphics/emblem/default.nix')
-rw-r--r--pkgs/applications/graphics/emblem/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/graphics/emblem/default.nix b/pkgs/applications/graphics/emblem/default.nix
index 8df8b76801396..04e1aa72357ac 100644
--- a/pkgs/applications/graphics/emblem/default.nix
+++ b/pkgs/applications/graphics/emblem/default.nix
@@ -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 = [