anchor.diff:    staticUsrProfileTarget = nixpkgs.buildEnv {
       name = "system-profile-target";
       paths = basePkgs ++ [ profilePkg ] ++ targetPaths;
  +    ignoreCollisions = true;
     };
   
     staticUsrProfileMulti = nixpkgs.buildEnv {
       name = "system-profile-multi";
       paths = multiPaths;
  +    ignoreCollisions = true;
     };
   
     linkProfile = profile: ''
  
positive.code:     cp -rsf ${staticUsrProfileTarget}/lib/32/* lib/
  
      # copy content of multiPaths (32bit libs)
      [ -d ${staticUsrProfileMulti}/lib ] && cp -rsf ${staticUsrProfileMulti}/lib/* lib/
  
      # copy content of targetPaths (64bit libs)
      cp -rsf ${staticUsrProfileTarget}/lib/* lib64/
  
      # most 64bit only libs put their stuff into /lib
      # some pkgs (like gcc_multi) put 32bit libs into and /lib 64bit libs into /lib64
      # by overwriting these we will hopefully catch all these cases
      # in the end /lib should only contain 32bit and /lib64 only 64bit libs
      cp -rsf ${staticUsrProfileTarget}/lib64/* lib64/
  
      # copy gcc libs (and may overwrite exitsting wrongly placed libs)
      cp -rsf ${chosenGcc.cc}/lib/*   lib/
  
negative.code:     mkdir -m0755 lib
  
      # copy content of targetPaths
      cp -rsf ${staticUsrProfileTarget}/lib/* lib/ && chmod u+w -R lib/
    '';
  
    # setup /lib, /lib32 and /lib64
  