pkgs(cliphist): Add upstream update alert to purge local pkg

This commit is contained in:
ulic-youthlic 2025-06-10 18:59:42 +08:00
parent 90830d3d06
commit 2c37d1f7c9
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -13,7 +13,13 @@
in in
cliphist.overrideAttrs (final: prev: { cliphist.overrideAttrs (final: prev: {
inherit src; inherit src;
version = "unstable-${date}-git${version}"; version =
if prev.version != "0.6.1"
then
throw ''
Please remove <pkgs/cliphist.nix>
''
else "0-unstable-${date}-git${version}";
vendorHash = "sha256-No8d9ztepBO+fgF2XkEf/tyCPDAD57rBkzA8iVyNUmw="; vendorHash = "sha256-No8d9ztepBO+fgF2XkEf/tyCPDAD57rBkzA8iVyNUmw=";
buildInputs = buildInputs =
(prev.buildInputs or []) (prev.buildInputs or [])