anchor.diff:    postConfigure = ''
       qmakeCacheInjectNixOutputs() {
           local cache="$1/${qmakeCacheName}"
  -        if ! [ -f "$cache" ]; then return; fi
           echo "qmakeCacheInjectNixOutputs: $cache"
  +        if ! [ -f "$cache" ]; then
  +            echo >&2 "qmakeCacheInjectNixOutputs: WARNING: $cache does not exist"
  +        fi
           cat >>"$cache" <<EOF
       NIX_OUTPUT_BIN = $bin
       NIX_OUTPUT_DEV = $dev
  
positive.code: let
    compareVersion = v: builtins.compareVersions version v;
    qmakeCacheName =
      if compareVersion "5.12.4" >= 0 then ".qmake.stash" else ".qmake.cache";
  in
  
  stdenv.mkDerivation {
  
negative.code: 
        # Image formats
        libjpeg libpng libtiff
        (if compareVersion "5.9.0" < 0 then pcre16 else pcre2)
      ]
      ++ (
        if stdenv.isDarwin
  