Skip to content

nixos/xterm: Set default to xserver.enable#69093

Merged
worldofpeace merged 1 commit intoNixOS:masterfrom
alexarice:xterm-default
Sep 19, 2019
Merged

nixos/xterm: Set default to xserver.enable#69093
worldofpeace merged 1 commit intoNixOS:masterfrom
alexarice:xterm-default

Conversation

@alexarice
Copy link
Copy Markdown
Contributor

Motivation for this change

Fixes #69079
I bisected this issue down to 456c42c
This changes the default for xterm to be true if stateVersion is older than 19.09.
I believe that in this case the default should be set to the xserver.enable default, as it was 2 commits before.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @worldofpeace

@ofborg ofborg bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Sep 19, 2019
@matthewbauer
Copy link
Copy Markdown
Member

We may want to just enable xterm on those tests that need it.

@alexarice
Copy link
Copy Markdown
Contributor Author

The problem is that it is enabled when it shouldn't be (i.e. when xserver is not enabled). The tests don't need it

@matthewbauer
Copy link
Copy Markdown
Member

The problem is that it is enabled when it shouldn't be (i.e. when xserver is not enabled). The tests don't need it

Ah ok! My bad, I misunderstood what the problem.

@worldofpeace
Copy link
Copy Markdown
Contributor

Yeah this is what I meant to fix after it got merged a bit back, but I forgot about it 🤣

I actually want a fix like #68371, but I'm not too sure about the PR because I don't understand what we need to support.

@FRidh
Copy link
Copy Markdown
Member

FRidh commented Sep 19, 2019

Let's get this in first to unblock the channels, if the fix is acceptable.

Copy link
Copy Markdown
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@worldofpeace worldofpeace changed the title xterm: Set default to xserver.enable nixos/xterm: Set default to xserver.enable Sep 19, 2019
@worldofpeace worldofpeace merged commit db3d31b into NixOS:master Sep 19, 2019
@alexarice alexarice deleted the xterm-default branch September 19, 2019 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unstable channel hasn't updated for 10+ days

4 participants