anchor.diff:      Carbon
       AppKit
     ];
  -
  -  # Add missing vulkan dependency to rpath
  -  preFixup = lib.optionalString stdenv.isLinux ''
  -    patchelf --add-needed ${vulkan-loader}/lib/libvulkan.so.1 $out/bin/lapce
  -  '';
   
     postInstall = ''
       install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/lapce.svg
  
positive.code: , rustPlatform
  , cmake
  , pkg-config
  , python3
  , perl
  , freetype
  , fontconfig
  , libxkbcommon
  , xcbutil
  , libX11
  , libXcursor
  , libXrandr
  , libXi
  , vulkan-loader
  , copyDesktopItems
  , makeDesktopItem
  , openssl
  , libobjc
  , Security
  
negative.code: 
  rustPlatform.buildRustPackage rec {
    pname = "lapce";
    version = "0.1.2";
  
    src = fetchFromGitHub {
      owner = "lapce";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-jH473FdBI3rGt90L3WwMDPP8M3w0rtG5D758ceCMw94=";
    };
  
    cargoSha256 = "sha256-0Kya2KcyBDlt0TpFV60VAA3+JPfwId/+k8k+H97EhB0=";
  
    nativeBuildInputs = [
      cmake
      pkg-config
      perl
      copyDesktopItems
    ];
  