anchor.diff:        sha256 = sha256Hash;
       };
   
  -    buildInputs = [ makeWrapper git ];
  +    buildInputs = [ makeWrapper git pub_cache ];
   
       inherit patches;
   
  
positive.code:       ];
    };
  
  in runCommand drvName {
    startScript = ''
      #!${bash}/bin/bash
  
negative.code: 
        HOME=../.. # required for pub upgrade --offline, ~/.pub-cache
                   # path is relative otherwise it's replaced by /build/flutter
        export PUB_CACHE="${pub_cache}/libexec/pubcache"
  
        (cd "$FLUTTER_TOOLS_DIR" && "$PUB" upgrade --offline)
  
  