Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the config environment.gnome3.excludePackages = [ 'pkgs.gnome3.geary ' ] can not work #97829

Closed
gemone opened this issue Sep 12, 2020 · 2 comments
Labels
0.kind: bug Something is broken

Comments

@gemone
Copy link

gemone commented Sep 12, 2020

Describe the bug
When use the config environment.gnome3.excludePackages = [ 'pkgs.gnome3.geary ' ], the program geary still exists in the system.

Notify maintainers

@jtojnar @infinisil Sorry to disturb.

Additional context

Just use:

   environment.gnome3 = {  
       excludePackages = [ 
           pkgs.epiphany 
           pkgs.gnome3.geary 
           pkgs.gnome3.gnome-maps 
           pkgs.gnome3.gnome-software 
       ]; 
   };

BUT it can not delete the package geary.

If I use programs.geary.enable = false;, the package geary will be delete. I check my config, and I did not find which add the geary. Is the Command Conflict?

Metadata

Maintainer information:

 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.62, NixOS, 20.03.2913.4bd1938e03e (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.6`
 - channels(root): `"nixos-20.03"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@gemone gemone added the 0.kind: bug Something is broken label Sep 12, 2020
@jtojnar
Copy link
Member

jtojnar commented Sep 12, 2020

Right, this is expected.

We have a PR that will document this behaviour but it has not been merged yet:

https://github.com/NixOS/nixpkgs/blob/e70e481a54f4327d32a3ecf8c61f6bc96d9d5ac5/nixos/modules/services/x11/desktop-managers/gnome3.xml#L56-L61

@gemone
Copy link
Author

gemone commented Sep 12, 2020

Right, this is expected.

We have a PR that will document this behaviour but it has not been merged yet:

https://github.com/NixOS/nixpkgs/blob/e70e481a54f4327d32a3ecf8c61f6bc96d9d5ac5/nixos/modules/services/x11/desktop-managers/gnome3.xml#L56-L61

Thanks, I got it.

@gemone gemone closed this as completed Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants