<commit_before># Disabling optimization for cardano-sl packages will
# return a build ~20% faster (measured in DEVOPS-1032).

{ pkgs, localLib }:

self: super: {
    mkDerivation = args: super.mkDerivation (args // optionalAttrs (localLib.isCardanoSL args.pname) {
      configureFlags = (args.configureFlags or []) ++ [ "--ghc-options=-O0" ];
    });
  }<commit_msg>fixup! nix overlays: Fix build and use nixpkgs style<commit_after># Disabling optimization for cardano-sl packages will
# return a build ~20% faster (measured in DEVOPS-1032).

{ pkgs, localLib }:

with localLib;

self: super: {
    mkDerivation = args: super.mkDerivation (args // optionalAttrs (isCardanoSL args.pname) {
      configureFlags = (args.configureFlags or []) ++ [ "--ghc-options=-O0" ];
    });
  }
{'fraction_non_alphanumeric': 0.1358974358974359, 'fraction_numerical': 0.017948717948717947, 'mean_word_length': 3.911949685534591, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4013758', 'n_tokens_mistral': 276, 'n_tokens_neox': 254, 'n_words': 70}