Unverified Commit acfc0b30 authored by Ryan Omasta's avatar Ryan Omasta
Browse files

nano: unbreak on darwin

Fixes an issue with `format string is not a string literal` breaking nano on Darwin.
https://hydra.nixos.org/build/300187289/nixlog/1
parent 00445ae3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -64,6 +64,10 @@ stdenv.mkDerivation rec {
        cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/
      '';

  # https://hydra.nixos.org/build/300187289/nixlog/1
  # openat-die.c:57:10: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
  hardeningDisable = [ "format" ];

  enableParallelBuilding = true;
  strictDeps = true;