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

usb-modeswitch: 2.2.1 -> 2.5.0 and nixos module #22264

Merged
merged 3 commits into from Feb 21, 2017

Conversation

peterhoeg
Copy link
Member

@peterhoeg peterhoeg commented Jan 29, 2017

Motivation for this change

We were carrying v2.2.1 and not v2.3.0 due to the update only touching the version and not the sha256 sum.

Additionally, we add a nixos module for setting up udev to use the rules.

Unfortunately, I no longer have the hardware that made me write the module, so I cannot actually test if it works. I thought it would be better to get things into nixpkgs instead of lingering around here...

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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/)
  • Fits CONTRIBUTING.md.

Peter Hoeg added 2 commits February 18, 2017 11:35
We were carrying v2.2.1 and not v2.3.0 due to the update only touching
the version and not the sha256 sum.
Plus some minor cleanups.
@peterhoeg
Copy link
Member Author

@MarcWeber, any comments?


options = {

hardware.usb_wwan = {
Copy link
Member

Choose a reason for hiding this comment

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

The consensus is to use camelCase for nixos options instead of separators.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed. camelCase abbreviations just look really ugly though...

Copy link
Member

Choose a reason for hiding this comment

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

In this case, I agree. :)

@peterhoeg peterhoeg merged commit 8e5b630 into NixOS:master Feb 21, 2017
@peterhoeg peterhoeg deleted the m/modeswitch branch February 21, 2017 08:49
@peterhoeg peterhoeg restored the m/modeswitch branch February 21, 2017 11:45
@peterhoeg peterhoeg deleted the m/modeswitch branch February 25, 2017 00:48
@peterhoeg peterhoeg restored the m/modeswitch branch February 25, 2017 00:49
@peterhoeg peterhoeg deleted the m/modeswitch branch March 1, 2017 03:09
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