mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
gnome-terminal: update package name
The `pkgs.gnome.gnome-terminal` package was moved to `pkgs.gnome-terminal`. The former is now a deprecated alias that throws a warning whenever a configuration enabling the module is used: ``` The ‘gnome.gnome-terminal’ was moved to top-level. Please use ‘pkgs.gnome-terminal’ directly. ``` Related: https://github.com/NixOS/nixpkgs/pull/319659 Related: https://github.com/nix-community/home-manager/pull/5611
This commit is contained in:
parent
975b83ca56
commit
d0240a064d
3 changed files with 4 additions and 7 deletions
|
@ -316,7 +316,7 @@ in {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = [ pkgs.gnome.gnome-terminal ];
|
home.packages = [ pkgs.gnome-terminal ];
|
||||||
|
|
||||||
dconf.settings = let dconfPath = "org/gnome/terminal/legacy";
|
dconf.settings = let dconfPath = "org/gnome/terminal/legacy";
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -13,9 +13,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays =
|
||||||
(self: super: { gnome.gnome-terminal = config.lib.test.mkStubPackage { }; })
|
[ (self: super: { gnome-terminal = config.lib.test.mkStubPackage { }; }) ];
|
||||||
];
|
|
||||||
|
|
||||||
test.stubs.dconf = { };
|
test.stubs.dconf = { };
|
||||||
|
|
||||||
|
|
|
@ -49,9 +49,7 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: { gnome-terminal = config.lib.test.mkStubPackage { }; })
|
||||||
gnome.gnome-terminal = config.lib.test.mkStubPackage { };
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
test.stubs.dconf = { };
|
test.stubs.dconf = { };
|
||||||
|
|
Loading…
Reference in a new issue