Skip to content

nixos/screen: add pkgs.screen to the system closure#42410

Merged
FRidh merged 1 commit intoNixOS:masterfrom
Ma27:improve-screen-module
Jun 23, 2018
Merged

nixos/screen: add pkgs.screen to the system closure#42410
FRidh merged 1 commit intoNixOS:masterfrom
Ma27:improve-screen-module

Conversation

@Ma27
Copy link
Member

@Ma27 Ma27 commented Jun 23, 2018

Motivation for this change

When enabling any software in programs.* the package should be available globally. Just adding config files seems fairly counterintuitive.

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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg 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 Jun 23, 2018
Copy link
Member

@andir andir left a comment

Choose a reason for hiding this comment

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

Good catch! 👍

This should probably have done a long time ago.

One small (optional?) nitpick:

Since this "issue" was introduced in 2013 and people that use the programs.screen option must have added screen to their system package set manually. Having a note in the changelog about this would be nice so people can cleanup on the next update/release when they (should) go through the changes listed there.

@Ma27 Ma27 force-pushed the improve-screen-module branch from 22254f7 to 3fde98e Compare June 23, 2018 09:18
@Ma27
Copy link
Member Author

Ma27 commented Jun 23, 2018

@andir you're absolutely right! I added a new paragraph in Other notable changes and built the docs locally for testing :)

@GrahamcOfBorg GrahamcOfBorg added 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation labels Jun 23, 2018
@FRidh FRidh merged commit 904114f into NixOS:master Jun 23, 2018
@Ma27 Ma27 deleted the improve-screen-module branch June 23, 2018 16:14
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: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 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.

4 participants