anchor.diff:          echo 'pref("general.config.filename", "mozilla.cfg");' > "$out/lib/${libName}/defaults/pref/autoconfig.js"
           echo 'pref("general.config.obscure_value", 0);' >> "$out/lib/${libName}/defaults/pref/autoconfig.js"
   
  -        cat > "$out/lib/${libName}/mozilla.cfg" < ${mozillaCfg}
  +        cat > "$out/lib/${libName}/mozilla.cfg" << EOF
  +        ${mozillaCfg}
  +        EOF
   
           extraPrefsFiles=(${builtins.toString extraPrefsFiles})
           for extraPrefsFile in "''${extraPrefsFiles[@]}"; do
             cat "$extraPrefsFile" >> "$out/lib/${libName}/mozilla.cfg"
           done
  +
  +        cat >> "$out/lib/${libName}/mozilla.cfg" << EOF
  +        ${extraPrefs}
  +        EOF
   
           mkdir -p $out/lib/${libName}/distribution/extensions
   
  
positive.code:         // extraPolicies;
        };
  
        mozillaCfg =  writeText "mozilla.cfg" ''
          // First line must be a comment
  
          // Disables addon signature checking
  
negative.code:         // Security is maintained because only user whitelisted addons
          // with a checksum can be installed
          ${ lib.optionalString usesNixExtensions ''lockPref("xpinstall.signatures.required", false)'' };
        '';
  
        #############################
  