anchor.diff:      pname = "${pname}-modules";
       inherit src version;
   
  +    yarnOfflineCache = fetchYarnDeps {
  +      yarnLock = "${src}/yarn.lock";
  +      sha256 = "sha256-2NSibx026ENAqphGGhNoLwUldWTEPbDBrYu3hgeRlnM=";
  +    };
  +
       nativeBuildInputs = [ fixup_yarn_lock nodejs-slim yarn mastodon-gems mastodon-gems.wrappedRuby ];
   
       RAILS_ENV = "production";
  
positive.code:   # Using overrideAttrs on src does not build the gems and modules with the overridden src.
    # Putting the callPackage up in the arguments list also does not work.
    src = if srcOverride != null then srcOverride else callPackage ./source.nix {};
  
    yarnOfflineCache = fetchYarnDeps {
      yarnLock = "${src}/yarn.lock";
      sha256 = "sha256-2NSibx026ENAqphGGhNoLwUldWTEPbDBrYu3hgeRlnM=";
    };
  
    mastodon-gems = bundlerEnv {
      name = "${pname}-gems-${version}";
  
negative.code:       # Otherwise we encounter this upstream issue: https://github.com/mastodon/mastodon/issues/17924
        export NODE_OPTIONS=--openssl-legacy-provider
        fixup_yarn_lock ~/yarn.lock
        yarn config --offline set yarn-offline-mirror $yarnOfflineCache
        yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress
  
        patchShebangs ~/bin
  