!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
26 Dec 2023
@whiteblackgoose:matrix.orgWhiteBlackGooseohhh21:57:37
@whiteblackgoose:matrix.orgWhiteBlackGoosehow to view what an alias stands for?21:58:09
@jtojnar:matrix.orgJan Tojnarhttps://github.com/NixOS/nixpkgs/blob/cacf372fa697eaa7b8bd6c0b5d77f6c226b854bc/pkgs/top-level/aliases.nix#L64121:58:16
@jtojnar:matrix.orgJan Tojnarfor gnome https://github.com/NixOS/nixpkgs/blob/cacf372fa697eaa7b8bd6c0b5d77f6c226b854bc/pkgs/desktops/gnome/default.nix#L26421:58:49
@whiteblackgoose:matrix.orgWhiteBlackGooseaaalright21:59:22
@whiteblackgoose:matrix.orgWhiteBlackGooseis there no CLI way to check the alias? I might need to go over my packages now22:00:12
@jtojnar:matrix.orgJan TojnarI do not think so. From Nix POV, it is just a binding.22:00:52
@whiteblackgoose:matrix.orgWhiteBlackGoosemakes sense22:01:02
@whiteblackgoose:matrix.orgWhiteBlackGoosethe files you linked cover that ig22:01:09
@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

Show newer messages


Back to Room ListRoom Version: 6