anchor.diff:      ${stdenv.lib.optionalString (app != null) ''
         # Install the App through the debugger, if it has not been installed yet
   
  -      if [ -z "${package}" ] || [ "$(${androidsdkComposition}/libexec/android-sdk/platform-tools/adb -s emulator-$port shell pm list packages | grep package:${package})" = "" ]
  +      if [ -z "${package}" ] || [ "$(${sdk}/libexec/android-sdk/platform-tools/adb -s emulator-$port shell pm list packages | grep package:${package})" = "" ]
         then
             if [ -d "${app}" ]
             then
  
positive.code:     abiVersions = [ abiVersion ];
    } // sdkExtraArgs;
  
    androidsdkComposition = (composeAndroidPackages sdkArgs).androidsdk;
  in
  stdenv.mkDerivation {
    inherit name;
  
negative.code:     ''}
  
      # We need to specify the location of the Android SDK root folder
      export ANDROID_SDK_ROOT=${sdk}/libexec/android-sdk
  
      # We have to look for a free TCP port
  
  