anchor.diff:      } | $nixStore --restore $out
     '';
   
  -  rewritten-deps = listToAttrs [ {name = discard old-dependency.outPath; value = new-dependency;} ];
  +  rewritten-deps = listToAttrs [ {name = discard (toString old-dependency); value = new-dependency;} ];
   
     fn = drv:
       if depends-on-old drv
  
positive.code:         ) {} (references-of drv)));
        } ]
        else {};
  in assert (stringLength old-dependency.name == stringLength new-dependency.name);
  getAttr (discard drv.outPath) (fn drv)
  
negative.code: 
    discard = builtins.unsafeDiscardStringContext;
  
    old-storepath = builtins.storePath (discard (toString old-dependency));
  
    references-of = drv: getAttr (discard (toString drv)) references;
  
  