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

Add support for Epson network scanners #60568

Merged
merged 2 commits into from Jun 12, 2019
Merged

Conversation

booxter
Copy link
Contributor

@booxter booxter commented May 1, 2019

No description provided.

@booxter
Copy link
Contributor Author

booxter commented May 1, 2019

I've tested it based on release-19.03. I don't have a setup with master to validate cherry-pick works on master. Is there a procedure to validate a patch against master except by upgrading to master? For a separate standing packages it's easy to install it with nix-env but this package involves configuration options and I am not yet sure how to build with options included but isolated from the host.

@risicle
Copy link
Contributor

risicle commented May 8, 2019

Clone another copy of the nixpkgs repo somewhere and do nix-build . -A some.package.attrpath from within it?

@booxter
Copy link
Contributor Author

booxter commented May 9, 2019

@risicle I can definitely build the package but it's hard to tell if it definitely works with the whole setup (sane config files etc.) unless I build the whole system using master and the PR and try it out.

@risicle
Copy link
Contributor

risicle commented May 9, 2019

You can take a simple (or complex) machine configuration and build a vm from it https://nixos.wiki/wiki/Cheatsheet#Reuse_a_package_as_a_build_environment which you can just launch with a single command.

@booxter
Copy link
Contributor Author

booxter commented May 14, 2019

@risicle these build tools are amazing! I've just built a VM with my configuration and this branch (that is based on master) and validated that scanimage -L shows the remote scanner and that scanimage > file generates an image.

@booxter
Copy link
Contributor Author

booxter commented May 23, 2019

/assign @symphorien

@symphorien
Copy link
Member

Looks good to me!
I rebuilt my system with these commits rebased on 19.03. My (usb) scanner still works.

@booxter
Copy link
Contributor Author

booxter commented Jun 11, 2019

@symphorien thanks for checking. How do we get it merged? I believe you are marked as the package maintainer so I hoped you can nudge it in.

@symphorien
Copy link
Member

Sorry, I don't have merge rights. We can only wait for someone who can to notice this PR.

ntPluginVersion = "1.1.1-1";

buildInputs = [ stdenv.cc.cc.lib ];
nativeBuildInputs = [ autoPatchelfHook ];
Copy link
Member

Choose a reason for hiding this comment

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

If this works then, perhaps, other plugins could use this too.

@veprbl veprbl merged commit 35ee15d into NixOS:master Jun 12, 2019
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

4 participants