From 2c37d1f7c976eaeab4368f4460fc2ce9f2f04ab0 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Tue, 10 Jun 2025 18:59:42 +0800 Subject: [PATCH] pkgs(cliphist): Add upstream update alert to purge local pkg --- pkgs/cliphist.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/cliphist.nix b/pkgs/cliphist.nix index 6a4cebd..40f08f9 100644 --- a/pkgs/cliphist.nix +++ b/pkgs/cliphist.nix @@ -13,7 +13,13 @@ in cliphist.overrideAttrs (final: prev: { inherit src; - version = "unstable-${date}-git${version}"; + version = + if prev.version != "0.6.1" + then + throw '' + Please remove + '' + else "0-unstable-${date}-git${version}"; vendorHash = "sha256-No8d9ztepBO+fgF2XkEf/tyCPDAD57rBkzA8iVyNUmw="; buildInputs = (prev.buildInputs or [])