anchor.diff:  
     qmakeFlags = [
       # Use pkg-config to correctly locate library paths
  -    "-config" "link_pkgconfig"
  +    "CONFIG+=link_pkgconfig"
     ];
  +
  +  preInstall = lib.optionalString stdenv.isDarwin ''
  +    mkdir -p $out/Applications
  +    mv qosmic.app $out/Applications
  +  '';
   
     meta = with lib; {
       description = "A cosmic recursive flame fractal editor";
       homepage = "https://github.com/bitsed/qosmic";
       license = licenses.gpl3Plus;
       maintainers = [ maintainers.raboof ];
  -    # It might be possible to make it work on OSX,
  -    # but this has not been tested.
  -    platforms = platforms.linux;
  +    platforms = platforms.unix;
     };
   }
  
positive.code:     })
    ];
  
    nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
  
    buildInputs = [
  
negative.code: , lib
  }:
  
  stdenv.mkDerivation rec {
    pname = "qosmic";
    version = "1.6.0";
  
  