From 4ee5a9ed53b29b587ee48fd4a887290b766a0b1b Mon Sep 17 00:00:00 2001 From: lordkekz Date: Sun, 25 Aug 2024 21:47:40 +0200 Subject: [PATCH] Use `sha256` instead of `hash` This makes it possible to mass-upate plugins using `update-nix-fetchgit`. See: https://github.com/expipiplus1/update-nix-fetchgit/issues/80 --- plugins/bypass/default.nix | 2 +- plugins/chmod/default.nix | 2 +- plugins/full-border/default.nix | 2 +- plugins/hide-preview/default.nix | 2 +- plugins/jump-to-char/default.nix | 2 +- plugins/max-preview/default.nix | 2 +- plugins/relative-motions/default.nix | 2 +- plugins/smart-filter/default.nix | 2 +- plugins/starship/default.nix | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/bypass/default.nix b/plugins/bypass/default.nix index e17021b..1c59c67 100644 --- a/plugins/bypass/default.nix +++ b/plugins/bypass/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "Rolv-Apneseth"; repo = "bypass.yazi"; rev = "c436638b91e3dcdc6961242a1a0608f76bddfcea"; - hash = "sha256-jxUR2dqNHUKdjdgLa7WQiqhdA0/Q2jt2sHxLNFcfC8w="; + sha256 = "sha256-jxUR2dqNHUKdjdgLa7WQiqhdA0/Q2jt2sHxLNFcfC8w="; }; buildPhase = '' diff --git a/plugins/chmod/default.nix b/plugins/chmod/default.nix index 6e2b808..1f51669 100644 --- a/plugins/chmod/default.nix +++ b/plugins/chmod/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "yazi-rs"; repo = "plugins"; rev = "0dc9dcd5794ca7910043174ec2f2fe3561016983"; - hash = "sha256-8RanvdS62IqkkKfswZUKynj34ckS9XzC8GYI9wkd3Ag="; + sha256 = "sha256-8RanvdS62IqkkKfswZUKynj34ckS9XzC8GYI9wkd3Ag="; }; buildPhase = '' diff --git a/plugins/full-border/default.nix b/plugins/full-border/default.nix index 0f8b3a6..5e36f2f 100644 --- a/plugins/full-border/default.nix +++ b/plugins/full-border/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "yazi-rs"; repo = "plugins"; rev = "c8b3e3979d79c110888d0bc2cab423f3d8093592"; - hash = "sha256-x45hP/A6XtWloAjam71fC6wPgrv8kNTr/KDlJFGMz8Q="; + sha256 = "sha256-x45hP/A6XtWloAjam71fC6wPgrv8kNTr/KDlJFGMz8Q="; }; buildPhase = '' diff --git a/plugins/hide-preview/default.nix b/plugins/hide-preview/default.nix index 363fabd..8020237 100644 --- a/plugins/hide-preview/default.nix +++ b/plugins/hide-preview/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "yazi-rs"; repo = "plugins"; rev = "c8b3e3979d79c110888d0bc2cab423f3d8093592"; - hash = "sha256-x45hP/A6XtWloAjam71fC6wPgrv8kNTr/KDlJFGMz8Q="; + sha256 = "sha256-x45hP/A6XtWloAjam71fC6wPgrv8kNTr/KDlJFGMz8Q="; }; buildPhase = '' diff --git a/plugins/jump-to-char/default.nix b/plugins/jump-to-char/default.nix index 3cbaeda..b32a246 100644 --- a/plugins/jump-to-char/default.nix +++ b/plugins/jump-to-char/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "yazi-rs"; repo = "plugins"; rev = "0dc9dcd5794ca7910043174ec2f2fe3561016983"; - hash = "sha256-8RanvdS62IqkkKfswZUKynj34ckS9XzC8GYI9wkd3Ag="; + sha256 = "sha256-8RanvdS62IqkkKfswZUKynj34ckS9XzC8GYI9wkd3Ag="; }; buildPhase = '' diff --git a/plugins/max-preview/default.nix b/plugins/max-preview/default.nix index 559762f..3289bb7 100644 --- a/plugins/max-preview/default.nix +++ b/plugins/max-preview/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "yazi-rs"; repo = "plugins"; rev = "c8b3e3979d79c110888d0bc2cab423f3d8093592"; - hash = "sha256-x45hP/A6XtWloAjam71fC6wPgrv8kNTr/KDlJFGMz8Q="; + sha256 = "sha256-x45hP/A6XtWloAjam71fC6wPgrv8kNTr/KDlJFGMz8Q="; }; buildPhase = '' diff --git a/plugins/relative-motions/default.nix b/plugins/relative-motions/default.nix index 2917d67..0e8742f 100644 --- a/plugins/relative-motions/default.nix +++ b/plugins/relative-motions/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "dedukun"; repo = "relative-motions.yazi"; rev = "8b3ee6341a4a4d0dc264a96ad8a8f6cdff585e89"; - hash = "sha256-bGJuCJzUrTh6bre1ECvL3cXQBRolAUHxWMd4awaCCbA="; + sha256 = "sha256-bGJuCJzUrTh6bre1ECvL3cXQBRolAUHxWMd4awaCCbA="; }; buildPhase = '' diff --git a/plugins/smart-filter/default.nix b/plugins/smart-filter/default.nix index 0d5d855..43ad2b0 100644 --- a/plugins/smart-filter/default.nix +++ b/plugins/smart-filter/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "yazi-rs"; repo = "plugins"; rev = "0dc9dcd5794ca7910043174ec2f2fe3561016983"; - hash = "sha256-8RanvdS62IqkkKfswZUKynj34ckS9XzC8GYI9wkd3Ag="; + sha256 = "sha256-8RanvdS62IqkkKfswZUKynj34ckS9XzC8GYI9wkd3Ag="; }; buildPhase = '' diff --git a/plugins/starship/default.nix b/plugins/starship/default.nix index 5a68624..36c1e00 100644 --- a/plugins/starship/default.nix +++ b/plugins/starship/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { owner = "Rolv-Apneseth"; repo = "starship.yazi"; rev = "0a141f6dd80a4f9f53af8d52a5802c69f5b4b618"; - hash = "sha256-OL4kSDa1BuPPg9N8QuMtl+MV/S24qk5R1PbO0jgq2rA="; + sha256 = "sha256-OL4kSDa1BuPPg9N8QuMtl+MV/S24qk5R1PbO0jgq2rA="; }; buildPhase = ''