From f2c6758906d32f27df03fe7f1b9919f60491c9d9 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 Jan 2024 20:44:56 +0100 Subject: fix(sys/nixpkgs/pkgs/yt): Use already existing cargo lock file --- sys/nixpkgs/pkgs/yt/yt.nix | 4 +++- sys/nixpkgs/pkgs/yt/ytc.nix | 4 +++- sys/nixpkgs/pkgs/yt/yts.nix | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/nixpkgs/pkgs/yt/yt.nix b/sys/nixpkgs/pkgs/yt/yt.nix index 5500df52..aaa971c3 100644 --- a/sys/nixpkgs/pkgs/yt/yt.nix +++ b/sys/nixpkgs/pkgs/yt/yt.nix @@ -11,7 +11,9 @@ rustPlatform.buildRustPackage { version = "0.1.0"; src = ./.; - cargoHash = "sha256-AlrixMGbBa+VJZDzplQZwFV9Mp3STjCJUD6zV/JmUyA="; + cargoLock = { + lockFile = ./Cargo.lock; + }; buildNoDefaultFeatures = true; buildFeatures = ["yt"]; diff --git a/sys/nixpkgs/pkgs/yt/ytc.nix b/sys/nixpkgs/pkgs/yt/ytc.nix index 8967ea35..dff5bcf8 100644 --- a/sys/nixpkgs/pkgs/yt/ytc.nix +++ b/sys/nixpkgs/pkgs/yt/ytc.nix @@ -11,7 +11,9 @@ rustPlatform.buildRustPackage { version = "0.1.0"; src = ./.; - cargoHash = "sha256-X3bw6p09RttYR/6unu4rGawbmrBuDV8QNzaQlg1cBrs="; + cargoLock = { + lockFile = ./Cargo.lock; + }; buildNoDefaultFeatures = true; buildFeatures = ["ytc"]; diff --git a/sys/nixpkgs/pkgs/yt/yts.nix b/sys/nixpkgs/pkgs/yt/yts.nix index e70b7680..9a8b172e 100644 --- a/sys/nixpkgs/pkgs/yt/yts.nix +++ b/sys/nixpkgs/pkgs/yt/yts.nix @@ -9,7 +9,9 @@ rustPlatform.buildRustPackage { version = "0.1.0"; src = ./.; - cargoHash = "sha256-vtf58M+qTEbgqSMFgaB67mhI4cEXtlQFMTbgmWFoxX4="; + cargoLock = { + lockFile = ./Cargo.lock; + }; buildNoDefaultFeatures = true; buildFeatures = ["yts"]; -- cgit 1.4.1