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

nixos/pantheon fix GNOME_SESSION_DEBUG conflict #74838

Merged
merged 1 commit into from Dec 2, 2019

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Dec 2, 2019

When session debugging was enabled in GNOME but not in Pantheon

{
  services.xserver = {
    desktopManager.pantheon = {
      enable = true;
    };
    desktopManager.gnome3 = {
      enable = true;
      debug = true;
    };
  };
}

it caused a conflict:

error: The option `environment.sessionVariables.GNOME_SESSION_DEBUG' has conflicting definitions, in `<nixpkgs/nixos/modules/services/x11/desktop-managers/pantheon.nix>' and `<nixpkgs/nixos/modules/services/x11/desktop-managers/gnome3.nix>'.

Note that this still does not allow parallel installation of both environments due to the conflict of NIX_GSETTINGS_OVERRIDES_DIR but there is not much we can do about that without #54150.

cc @worldofpeace

When session debugging was enabled in GNOME but not in Pantheon

	{
	  services.xserver = {
	    desktopManager.pantheon = {
	      enable = true;
	    };
	    desktopManager.gnome3 = {
	      enable = true;
	      debug = true;
	    };
	  };
	}

it caused a conflict:

	error: The option `environment.sessionVariables.GNOME_SESSION_DEBUG' has conflicting definitions, in `<nixpkgs/nixos/modules/services/x11/desktop-managers/pantheon.nix>' and `<nixpkgs/nixos/modules/services/x11/desktop-managers/gnome3.nix>'.
@worldofpeace
Copy link
Contributor

Note that this still does not allow parallel installation of both environments due to the conflict of NIX_GSETTINGS_OVERRIDES_DIR but there is not much we can do about that without #74454

Right, I did think about morphing it into NIX_GSETTINGS_OVERRIDES_DIRS but it seemed like a waste of time when work could be done for #74454.

@worldofpeace worldofpeace merged commit 5350db9 into NixOS:master Dec 2, 2019
@worldofpeace worldofpeace deleted the pantheon-debug branch December 2, 2019 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants