anchor.diff:      sha256 = "1wfx4bsyxvrjl16dq5pqgial8rnnsnxzbak2ap0waddz847czxwz";
     };
   
  +  nativeBuildInputs = [
  +    makeWrapper
  +  ];
  +
     buildInputs = [
       cmake pkgconfig dbus boost libcap gtest systemd mesa glib
       SDL2 SDL2_image protobuf protobufc properties-cpp lxc python
  -    makeWrapper libGL
  +    libGL
     ];
   
     patchPhase = ''
  
positive.code: 
    meta = with stdenv.lib; {
      homepage = https://anbox.io;
      description = "Android in a box.";
      license = licenses.gpl2;
      maintainers = with maintainers; [ edwtjo ];
      platforms = platforms.linux;
  
negative.code: , protobufc
  , python
  , lxc
  , writeText
  , writeScript
  , runtimeShell
  }:
  
  let
  
    dbus-service = writeText "org.anbox.service" ''
      [D-BUS Service]
      Name=org.anbox
      Exec=@out@/libexec/anbox-session-manager
    '';
  
    anbox-application-manager = writeScript "anbox-application-manager" ''
      #!${runtimeShell}
  
      ${systemd}/bin/busctl --user call \
          org.freedesktop.DBus \
          /org/freedesktop/DBus \
          org.freedesktop.DBus \
          StartServiceByName "su" org.anbox 0
  
      @out@/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
    '';
  
  in
  
  stdenv.mkDerivation rec {
    pname = "anbox";
    version = "unstable-2019-03-07";
  
    src = fetchFromGitHub {
      owner = pname;
  