anchor.diff:      do
           patchelf --set-rpath $out/lib $i
       done
  -    
  +
       # Remove references to /usr from various scripts and files
       sed -i -e "s|/usr/bin|$out/bin|" share/VBoxGuestAdditions/vboxclient.desktop
       sed -i -e "s|/usr/bin|$out/bin|" bin/VBoxClient-all
  -    
  +
       # Install binaries
       mkdir -p $out/sbin
       install -m 755 sbin/VBoxService $out/sbin
  
positive.code:     cp -v lib/VBoxOGL*.so $out/lib
      mkdir -p $out/lib/dri
      ln -s $out/lib/VBoxOGL.so $out/lib/dri/vboxvideo_dri.so
      
      # Install desktop file
      mkdir -p $out/share/autostart
      cp -v share/VBoxGuestAdditions/vboxclient.desktop $out/share/autostart
  
negative.code:     cp -r install/* $out
  
    '';
  
    buildCommand = ''
      ${if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then ''
          isoinfo -J -i $src -x /VBoxLinuxAdditions.run > ./VBoxLinuxAdditions.run
          chmod 755 ./VBoxLinuxAdditions.run
          ./VBoxLinuxAdditions.run --noexec --keep
        ''
        else throw ("Architecture: "+stdenv.system+" not supported for VirtualBox guest additions")
      }
  
      # Unpack files
      cd install
      ${if stdenv.system == "i686-linux" then ''
  