Skip to content

Commit

Permalink
cnijfilter_2_80: disable fortify3 hardening
Browse files Browse the repository at this point in the history
the cups filter crashes with hardening

Fixes NixOS#276125
  • Loading branch information
symphorien authored and marcusramberg committed Dec 30, 2023
1 parent d371010 commit f78d313
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ stdenv.mkDerivation {
them, it undoes the --set-rpath. this prevents that. */
dontPatchELF = true;

# fortify hardening makes the filter crash
# https://github.com/NixOS/nixpkgs/issues/276125
hardeningDisable = [ "fortify3" ];

meta = with lib; {
description = "Canon InkJet printer drivers for the iP5400, MP520, MP210, MP140, iP3500, and MP610 series. (MP520 drivers also work for MX700.)";
homepage = "http://support-asia.canon-asia.com/content/EN/0100084101.html";
Expand Down

0 comments on commit f78d313

Please sign in to comment.