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

hll2390dw-cups: init at 4.0.0-1 #33919

Merged
merged 1 commit into from Apr 9, 2018

Conversation

samueldr
Copy link
Member

Motivation for this change

Adding the driver for my printer.

This driver is unified, it has both the lpr and cupswrapper parts in one, when compared to other older brother drivers. This is why I used the -cups suffix. I definitely didn't know what to use.

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
  • Tested execution of all binary files THROUGH CUPS (it prints!)
  • Fits CONTRIBUTING.md.

@@ -19765,6 +19765,8 @@ with pkgs;

canon-cups-ufr2 = callPackage ../misc/cups/drivers/canon { };

hll2390dw-cups = callPackage ../misc/cups/drivers/hll2390dw-cups { };
Copy link
Member

Choose a reason for hiding this comment

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

Directory name mismatch? - the default.nix added here seems to live in pkgs/misc/drivers/hll2390dw/default.nix

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, that's embarassing, I was under the impression that nix-build would've failed, but it seems it either used the system's overlay or the system's packages when building? Unsetting NIX_PATH before nix-building showed very well that it never worked in that repo, it worked very well in my overlay though. It is now fixed.

@samueldr
Copy link
Member Author

Updates:

  • Tested without NIX_PATH set, ensuring it wouldn't use my system's expressions...

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