!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

406 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)92 Servers

Load older messages


SenderMessageTime
26 Dec 2023
@jtojnar:matrix.orgJan Tojnarwe could probably make a tool that would try to bisect aliases but it is probably not worth the effort22:02:09
@whiteblackgoose:matrix.orgWhiteBlackGooseAlright so it almost worked I hit a syntax error in a glib header file during build... a lot of syntax errors Any idea why?22:26:46
@whiteblackgoose:matrix.orgWhiteBlackGoose

This is my overlay:

  nixpkgs.overlays = [
    (final: prev: {
      gnome = prev.gnome.overrideScope' (gnomeFinal: gnomePrev: {
        mutter = gnomePrev.mutter.overrideAttrs ( old: {
          patches = (old.patches or []) ++ [ "${pkgs.fetchpatch {
            url = "https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1441/diffs.patch";
            sha256 = "sha256-5r4UP4njxrfRebItzQBPrTKaPUzkWA+9727YdWgBCpA=";
          }}" ];
          src = pkgs.fetchgit {
            url = "https://gitlab.gnome.org/GNOME/mutter.git";
            rev = "3a94822e755e530b71c33bb5bce0e8faa438983c";
            sha256 = "sha256-BTBDEIefqFmzMEE85KwEhkcNlL/9UaMp10rXjWmspKQ=";
          };
        } );
      });
    })
  ];

22:27:03
@whiteblackgoose:matrix.orgWhiteBlackGoosenot sure if it makes sense to attach the error22:28:15
@whiteblackgoose:matrix.orgWhiteBlackGooseDownload gnome-mutter-build.log22:28:31
@whiteblackgoose:matrix.orgWhiteBlackGoose(I had to override the source repo too bc otherwise it gets merge conflicts while patching)22:29:32
@jtojnar:matrix.orgJan Tojnar WhiteBlackGoose: that sounds like using wrong source revision 22:29:41
@whiteblackgoose:matrix.orgWhiteBlackGooselemme try without patches then22:30:12
@whiteblackgoose:matrix.orgWhiteBlackGooseNope, same weird ass errors22:32:48
@jtojnar:matrix.orgJan Tojnarwell, you need a compatible gnome-shell22:33:22
@whiteblackgoose:matrix.orgWhiteBlackGoosedamn :/ I'm on gnome 45 and the difference from master is already so huge that it'd generate hundreds of insane syntax errors? 😄22:34:07
@jtojnar:matrix.orgJan Tojnarthose are not syntax errors but missing functions22:34:31
@jtojnar:matrix.orgJan Tojnarwell, the syntax errors are red herrings22:35:06
@jtojnar:matrix.orgJan Tojnarthe actual errors are a bit earlier22:35:32
@whiteblackgoose:matrix.orgWhiteBlackGooseI see So do I override gnome-shell the same way? I smell a deep rabbit hole right there22:35:54
@jtojnar:matrix.orgJan Tojnaryes22:36:11
@whiteblackgoose:matrix.orgWhiteBlackGooseor maybe I could get the patch to work with the version my mutter is compiled with22:36:17
@jtojnar:matrix.orgJan Tojnarmight need more changes if it is still based on GNOME 4522:36:24
@jtojnar:matrix.orgJan Tojnar * might need more changes if the patch is still based on GNOME 4422:36:33
@whiteblackgoose:matrix.orgWhiteBlackGooseOh I thought it's ahead actually I'm patching it against matser22:36:56
@whiteblackgoose:matrix.orgWhiteBlackGoose * Oh I thought it's ahead actually I'm patching it against master22:36:59
@whiteblackgoose:matrix.orgWhiteBlackGoose * Oh I thought it's ahead actually I'm patching it against main22:37:09
@jtojnar:matrix.orgJan TojnarI last checked it few months ago so maybe Daniel have rebased it since22:38:14
@whiteblackgoose:matrix.orgWhiteBlackGooseI don't think so, the commits are pretty dated, but the branch has no conflicts with main22:40:11
@whiteblackgoose:matrix.orgWhiteBlackGoose ok so it succeeded
Daniel has branch coincidentally called triple-buffering-v4-45
23:01:20
@whiteblackgoose:matrix.orgWhiteBlackGooseis there some nix command to merge branches maybe? that branch is not rebased onto main and there's quite a lot of commits (but I'll test it as is anyway)23:03:04
@jtojnar:matrix.orgJan Tojnar I guess you could do that in postFetch of fetchgit 23:04:24
@jtojnar:matrix.orgJan Tojnarof course, branches are not permanent so it would not necessarily be reproducible23:05:09
@whiteblackgoose:matrix.orgWhiteBlackGoosewell I'd merge commits23:06:19
@whiteblackgoose:matrix.orgWhiteBlackGoosehoooooly jesus23:06:25

Show newer messages


Back to Room ListRoom Version: 6