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:
Tomodachi94 2024-07-24 16:36:17 -07:00 committed by Robert Helgesson
parent 975b83ca56
commit d0240a064d
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
3 changed files with 4 additions and 7 deletions

View file

@ -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 {

View file

@ -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 = { };

View file

@ -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 = { };