anchor.diff:      sha256 = "1w3b0w8izp0i070grhv19j631sdcd0mcqnjnax13k8mdx7dg8zcx";
     };
   
  -  patches = optionals stdenv.isLinux [
  +  patches = lib.optionals stdenv.isLinux [
       (substituteAll {
         src = ./fix-bubblewrap-paths.patch;
         inherit (builtins) storeDir;
  
positive.code:     libXdmcp
      libXt
      libXtst
    ]) ++ optionals stdenv.isDarwin [
      libedit
      readline
    ] ++ optionals stdenv.isLinux [
      bubblewrap
      libseccomp
      systemd
      wayland
      xdg-dbus-proxy
    ] ++ optional enableGeoLocation geoclue2;
  
    propagatedBuildInputs = [
      gtk3
  
negative.code:     # pick up the wrong gettext. TODO: Find a better solution for
      # this, maybe make cmake not look up executables in
      # CMAKE_PREFIX_PATH.
      cmakeFlags+=" -DCMAKE_IGNORE_PATH=${lib.getBin gettext}/bin"
    '';
  
    nativeBuildInputs = [
  