Skip to content

Commit 2ba55c4

Browse files
committed
plover.stable: move deprication behinde allowAliases
1 parent 4b9a151 commit 2ba55c4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkgs/applications/misc/plover/default.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
config,
34
fetchFromGitHub,
45
python3Packages,
56
wmctrl,
@@ -8,8 +9,6 @@
89
}:
910

1011
{
11-
stable = throw "plover.stable was removed because it used Python 2. Use plover.dev instead."; # added 2022-06-05
12-
1312
dev =
1413
with python3Packages;
1514
mkDerivationWith buildPythonPackage rec {
@@ -58,3 +57,6 @@
5857
'';
5958
};
6059
}
60+
// lib.optionalAttrs config.allowAliases {
61+
stable = throw "plover.stable was removed because it used Python 2. Use plover.dev instead."; # added 2022-06-05
62+
}

0 commit comments

Comments
 (0)