| 26 Dec 2023 |
WhiteBlackGoose | ohhh | 21:57:37 |
WhiteBlackGoose | how to view what an alias stands for? | 21:58:09 |
Jan Tojnar | https://github.com/NixOS/nixpkgs/blob/cacf372fa697eaa7b8bd6c0b5d77f6c226b854bc/pkgs/top-level/aliases.nix#L641 | 21:58:16 |
Jan Tojnar | for gnome https://github.com/NixOS/nixpkgs/blob/cacf372fa697eaa7b8bd6c0b5d77f6c226b854bc/pkgs/desktops/gnome/default.nix#L264 | 21:58:49 |
WhiteBlackGoose | aaalright | 21:59:22 |
WhiteBlackGoose | is there no CLI way to check the alias? I might need to go over my packages now | 22:00:12 |
Jan Tojnar | I do not think so. From Nix POV, it is just a binding. | 22:00:52 |
WhiteBlackGoose | makes sense | 22:01:02 |
WhiteBlackGoose | the files you linked cover that ig | 22:01:09 |
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 |