| 26 Dec 2023 |
Jan Tojnar | we could probably make a tool that would try to bisect aliases but it is probably not worth the effort | 22:02:09 |
WhiteBlackGoose | Alright 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 | 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 | not sure if it makes sense to attach the error | 22:28:15 |
WhiteBlackGoose | Download gnome-mutter-build.log | 22:28:31 |
WhiteBlackGoose | (I had to override the source repo too bc otherwise it gets merge conflicts while patching) | 22:29:32 |
Jan Tojnar | WhiteBlackGoose: that sounds like using wrong source revision | 22:29:41 |
WhiteBlackGoose | lemme try without patches then | 22:30:12 |
WhiteBlackGoose | Nope, same weird ass errors | 22:32:48 |
Jan Tojnar | well, you need a compatible gnome-shell | 22:33:22 |
WhiteBlackGoose | damn :/
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 |
Jan Tojnar | those are not syntax errors but missing functions | 22:34:31 |
Jan Tojnar | well, the syntax errors are red herrings | 22:35:06 |
Jan Tojnar | the actual errors are a bit earlier | 22:35:32 |
WhiteBlackGoose | I see
So do I override gnome-shell the same way? I smell a deep rabbit hole right there | 22:35:54 |
Jan Tojnar | yes | 22:36:11 |
WhiteBlackGoose | or maybe I could get the patch to work with the version my mutter is compiled with | 22:36:17 |
Jan Tojnar | might need more changes if it is still based on GNOME 45 | 22:36:24 |
Jan Tojnar | * might need more changes if the patch is still based on GNOME 44 | 22:36:33 |
WhiteBlackGoose | Oh I thought it's ahead actually
I'm patching it against matser | 22:36:56 |
WhiteBlackGoose | * Oh I thought it's ahead actually
I'm patching it against master | 22:36:59 |
WhiteBlackGoose | * Oh I thought it's ahead actually
I'm patching it against main | 22:37:09 |
Jan Tojnar | I last checked it few months ago so maybe Daniel have rebased it since | 22:38:14 |
WhiteBlackGoose | I don't think so, the commits are pretty dated, but the branch has no conflicts with main | 22:40:11 |
WhiteBlackGoose | ok so it succeeded Daniel has branch coincidentally called triple-buffering-v4-45 | 23:01:20 |
WhiteBlackGoose | is 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 |
Jan Tojnar | I guess you could do that in postFetch of fetchgit | 23:04:24 |
Jan Tojnar | of course, branches are not permanent so it would not necessarily be reproducible | 23:05:09 |
WhiteBlackGoose | well I'd merge commits | 23:06:19 |
WhiteBlackGoose | hoooooly jesus | 23:06:25 |