anchor.diff:    };
   
     staticUsrProfileMulti = nixpkgs.buildEnv {
  -    name = "system-profile-multi";
  -    paths = multiPaths;
  +    name = "${name}-usr-multi";
  +    paths = baseMultiPkgs ++ multiPaths;
       extraOutputsToInstall = [ "lib" "out" ] ++ extraOutputsToInstall;
       ignoreCollisions = true;
     };
  
positive.code: 
    # list of packages which are installed for both x86 and x86_64 on x86_64
    # systems
    multiPaths = if isMultiBuild
                    then multiPkgs nixpkgs_i686
                    else [];
  
    # base packages of the chroot
    # these match the host's architecture, gcc/glibc_multi are used for multilib
    # builds.
    chosenGcc = if isMultiBuild then nixpkgs.gcc_multi else nixpkgs.gcc;
    basePkgs = with nixpkgs;
      [ (if isMultiBuild then glibc_multi else glibc)
        chosenGcc
        bashInteractive coreutils less shadow su
        gawk diffutils findutils gnused gnugrep
        gnutar gzip bzip2 xz glibcLocales
      ];
  
    etcProfile = nixpkgs.writeText "profile" ''
  
negative.code:     # copy content of targetPaths (64bit libs)
      cp -rsHf ${staticUsrProfileTarget}/lib/* lib64/ && chmod u+w -R lib64/
  
      # symlink 32-bit ld-linux.so
      ln -Ls ${staticUsrProfileTarget}/lib/32/ld-linux.so.2 lib/
    '';
  
    setupLibDirs = if isTargetBuild then setupLibDirs_target
  