From 2ba55c4a167ada12d6a67eb6b5ab10b22052904c Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 3 Apr 2025 17:38:37 +0200 Subject: [PATCH] plover.stable: move deprication behinde allowAliases --- pkgs/applications/misc/plover/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/plover/default.nix b/pkgs/applications/misc/plover/default.nix index 24c14969970f..89c32a27b7ce 100644 --- a/pkgs/applications/misc/plover/default.nix +++ b/pkgs/applications/misc/plover/default.nix @@ -1,5 +1,6 @@ { lib, + config, fetchFromGitHub, python3Packages, wmctrl, @@ -8,8 +9,6 @@ }: { - stable = throw "plover.stable was removed because it used Python 2. Use plover.dev instead."; # added 2022-06-05 - dev = with python3Packages; mkDerivationWith buildPythonPackage rec { @@ -58,3 +57,6 @@ ''; }; } +// lib.optionalAttrs config.allowAliases { + stable = throw "plover.stable was removed because it used Python 2. Use plover.dev instead."; # added 2022-06-05 +}