about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2023-12-27 22:12:47 +0100
committerGitHub <noreply@github.com>2023-12-27 22:12:47 +0100
commit6fe94ff539e3d5e32aff3aaa7d76f20c0737e5fc (patch)
treeff3ae21a4bb6381ccf92eb7b661a1779b88b9128 /pkgs/misc
parentee6092b5c877cddf5425909206125baff6e5e50c (diff)
parentd4c1c32dc51cecccc7a90b266e6d760e35d7728e (diff)
Merge pull request #276300 from symphorien/issue_276125
cnijfilter_2_80: disable fortify hardening
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/cups/drivers/cnijfilter_2_80/default.nix4
1 files changed, 4 insertions, 0 deletions
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";