From d4c1c32dc51cecccc7a90b266e6d760e35d7728e Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 23 Dec 2023 12:00:00 +0000 Subject: cnijfilter_2_80: disable fortify3 hardening the cups filter crashes with hardening Fixes https://github.com/NixOS/nixpkgs/issues/276125 --- pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/misc') diff --git a/pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix b/pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix index 2b7e416eafefb..1a573c032e7fc 100644 --- a/pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix +++ b/pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix @@ -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"; -- cgit 1.4.1