anchor.diff:  
     inherit patches;
   
  -  outputs = [ "out" "lib" "man" "info" ];
  +  outputs = if langJava || langGo then ["out" "man" "info"]
  +    else [ "out" "lib" "man" "info" ];
     setOutputFlags = false;
     NIX_NO_SELF_RPATH = true;
   
  
positive.code: // optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
  
  // optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
  )
  
negative.code:     export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET"
      export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET"
      export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
    ''
    + stdenv.lib.optionalString (langJava || langGo) ''
      export lib=$out;
    ''
    ;
  
    dontDisableStatic = true;
  
  