@@ -47,6 +47,7 @@
4747, shellHook ? ""
4848, coreSetup ? false # Use only core packages to build Setup.hs.
4949, useCpphs ? false
50+, hardeningDisable ? []
5051} @ args:
5152
5253assert editedCabalFile != null -> revision != null;
@@ -329,5 +330,6 @@ stdenv.mkDerivation ({
329330// optionalAttrs (preFixup != "") { inherit preFixup; }
330331// optionalAttrs (postFixup != "") { inherit postFixup; }
331332// optionalAttrs (dontStrip) { inherit dontStrip; }
333+// optionalAttrs (hardeningDisable != []) { inherit hardeningDisable; }
332334// optionalAttrs (stdenv.isLinux) { LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
333335)