anchor.diff:      share="${if enableHardening then "$out/share/virtualbox" else "$libexec"}"
   
       # Install VirtualBox files
  -    cd out/linux.*/release/bin
  -    mkdir -p $libexec
  -    cp -av * $libexec
  +    mkdir -p "$libexec"
  +    find out/linux.*/release/bin -mindepth 1 -maxdepth 1 \
  +      -name src -o -exec cp -avt "$libexec" {} +
   
       # Install kernel modules
       ${forEachModule "modules_install"}
  
positive.code:       ln -s $libexec/icons/$size/*.png $out/share/icons/hicolor/$size/apps
      done
  
      # Get rid of src cruft.
      rm -rf $out/libexec/virtualbox/src
  
      # Get rid of a reference to linux.dev.
      nuke-refs $out/lib/modules/*/misc/*.ko
    '';
  
negative.code: 
    forEachModule = action: ''
      for mod in \
        out/linux.*/release/bin/src/vboxdrv \
        out/linux.*/release/bin/src/vboxpci \
        out/linux.*/release/bin/src/vboxnetadp \
        out/linux.*/release/bin/src/vboxnetflt
      do
        if [ "x$(basename "$mod")" != xvboxdrv -a ! -e "$mod/Module.symvers" ]
        then
          cp -v out/linux.*/release/bin/src/vboxdrv/Module.symvers \
            "$mod/Module.symvers"
        fi
        INSTALL_MOD_PATH="$out" INSTALL_MOD_DIR=misc \
        make -C "$MODULES_BUILD_DIR" DEPMOD=/do_not_use_depmod \
          "M=\$(PWD)/$mod" ${action}
      done
    '';
  
  