mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
deprecations: move just module deprecation to new module
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
3f07ce05c3
commit
6f4021da5d
2 changed files with 16 additions and 19 deletions
|
|
@ -18,5 +18,20 @@
|
|||
The corresponding package was removed from nixpkgs,
|
||||
consider using `deskflow` or `input-leap` instead.
|
||||
'')
|
||||
];
|
||||
]
|
||||
# Just module removal
|
||||
++ (map
|
||||
(
|
||||
opt:
|
||||
lib.mkRemovedOptionModule [ "programs" "just" opt ] ''
|
||||
'program.just' is deprecated, simply add 'pkgs.just' to 'home.packages' instead.
|
||||
See https://github.com/nix-community/home-manager/issues/3449#issuecomment-1329823502''
|
||||
)
|
||||
[
|
||||
"enable"
|
||||
"enableBashIntegration"
|
||||
"enableZshIntegration"
|
||||
"enableFishIntegration"
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
let
|
||||
msg = ''
|
||||
'program.just' is deprecated, simply add 'pkgs.just' to 'home.packages' instead.
|
||||
See https://github.com/nix-community/home-manager/issues/3449#issuecomment-1329823502'';
|
||||
|
||||
removed = opt: lib.mkRemovedOptionModule [ "programs" "just" opt ] msg;
|
||||
in
|
||||
map removed [
|
||||
"enable"
|
||||
"enableBashIntegration"
|
||||
"enableZshIntegration"
|
||||
"enableFishIntegration"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue