user3416536
user3416536

Reputation: 1469

How can I setup simple-scan on my nixos host for an HP OfficeJet Pro

I have an HP OfficeJet Pro 8610, and a nixos host. I can easily set up the printer in cups, using hplip and a hp:/net/... address.

But how can I set up scanning with simple-scan? It doesn't recognize the existence of the printer, neither does sane-find-scanner or scanimage -L. I have tried running hp-setup, but that fails complaining of error: No module named enum. I have tried installing python27Packages.enum in my user environment and also in the system environment, but no dice.

Thanks,

Upvotes: 0

Views: 521

Answers (1)

user3416536
user3416536

Reputation: 1469

The problem was that the nix derivation was missing a dependency; specifically on the enum package in python. Luckily, somebody else already spotted and fixed this here; one just needs to update one's nix channel to pick it up.

To use scanning in general in NixOS with an OfficeJet Pro 8610, see here.

Upvotes: 1

Related Questions