!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
6 Jul 2021
@piegames:matrix.orgpiegames

So, aktueller Endstand, baut fröhlich vor sich hin:

let
  # Pin some fairly new nixpkgs
  sources = builtins.fetchTarball {
    name = "nixpkgs-unstable-2021-07-06";
    url = "https://github.com/nixos/nixpkgs/archive/291b3ff5af268eb7a656bb11c73f2fe535ea2170.tar.gz";
    sha256 = "1z2l7q4cmiaqb99cd8yfisdr1n6xbwcczr9020ss47y2z1cn1x7x";
  };

  # For bootstrapping
  pkgs0 = import sources {
    overlays = [
      (pkgs: super: {
        # TODO replace with proper packaging once https://github.com/NixOS/nixpkgs/pull/128889 is merged
        mold = pkgs.stdenv.mkDerivation {
          pname = "mold";
          version = "0.9.1";
          src = pkgs.fetchgit {
            url = "https://github.com/rui314/mold";
            rev = "v0.9.1";
            sha256 = "sha256-yIkW6OCXhlHZ1jC8/yMAdJbSgY9K40POT2zWv6wYr5E=";
          };
          nativeBuildInputs = with pkgs; [ clang_12 cmake lld_12 tbb xxHash zlib openssl git ];
          dontUseCmakeConfigure = "true";
          buildPhase = "make -j $NIX_BUILD_CORES";
          installPhase = "mkdir -p $out $out/bin $out/share/man/man1 && PREFIX=$out make install";
        };

        binutils_mold = pkgs.wrapBintoolsWith {
          bintools = pkgs.binutils-unwrapped.overrideAttrs (old: {
            postInstall = ''
              rm $out/bin/ld.gold
              rm $out/bin/ld.bfd
              ln -sf ${pkgs.mold}/bin/mold $out/bin/ld.bfd
            '';
          });
        };
        
        stdenv_mold = super.overrideCC super.stdenv (super.wrapCCWith rec {
          cc = super.gcc-unwrapped;
          bintools = pkgs.binutils_mold;
        });
      })
    ];
  };

  # Actual nixpkgs with patched linker in all packages
  pkgs = import sources {
    overlays = [
      (pkgs: super: {
        stdenv = pkgs0.stdenv_mold;
        mold = pkgs0.mold;
      })
    ];
  };
in with pkgs;
  # Packages we want to build
  linkFarmFromDrvs "packages-with-mold" [
    mold
    binutils
    stdenv
    opencv
    jack2
    chromium
  ]
12:18:30
@piegames:matrix.orgpiegames * (totally the wrong channel ^^)12:25:15
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels.22:11:46
8 Jul 2021
@sshow:matrix.orgsshow joined the room.11:40:40
@sshow:matrix.orgsshowHey! Having problems with screen locking with gnome in unstable. Nothing really happens when attempting to lock. .gsd-media-keys logs "org.gnome.Shell.ScreenShield was not provided by any .service files".11:42:01
@jtojnar:matrix.orgJan Tojnar sshow: sorry, got distracted – this is weird 18:09:32
@jtojnar:matrix.orgJan Tojnarthere is no such service file18:09:55
@jtojnar:matrix.orgJan Tojnaras far as I can tell, GNOME Shell binds to that D-Bus address at runtime18:10:54
@jtojnar:matrix.orgJan Tojnar sshow: does this persist after restarting? 18:11:11
@sshow:matrix.orgsshowYeah. I have been unable to lock at all since swotching to gnome. Locking is native im GNOME, right?18:12:16
@jtojnar:matrix.orgJan Tojnaryeah, it works for me here18:16:29
@jtojnar:matrix.orgJan Tojnar sshow: I presume you mean GNOME Shell? 18:17:22
@jtojnar:matrix.orgJan Tojnardo you also use GDM?18:17:49
@sshow:matrix.orgsshow yeah, I'm on services.xserver.desktopManager.gnome.enable = true. 18:33:31
@jtojnar:matrix.orgJan Tojnar sshow: what about the display manager? 18:35:34
@jtojnar:matrix.orgJan Tojnarother than GDM had issues with screen locking in the past18:36:00
@sshow:matrix.orgsshowi haven't configured one explicitly. Looks like gnome is enabled implicitly as the displayManager https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/x11/desktop-managers/gnome.nix#L285-L28918:38:36
@jtojnar:matrix.orgJan Tojnar sshow: that is just for generating default config by nixos-generate-config command 18:40:12
@jtojnar:matrix.orgJan Tojnaryou will need to add it explicitly to your config18:40:19
@sshow:matrix.orgsshowoh.18:42:54
@sshow:matrix.orgsshow strange thing is that everyting else seems to work :) but, actually.. I'm running lightdm 18:43:46
@jtojnar:matrix.orgJan Tojnar sshow: yeah, the screen lock is implemented as part of gnome-shell that is executed by GDM IIRC 18:46:27
@sshow:matrix.orgsshowmakes a lot of sense :)18:46:38
@jtojnar:matrix.orgJan Tojnarhttps://nixos.org/manual/nixos/stable/index.html#sec-gnome-faq-can-i-use-lightdm-with-gnome18:47:07
@sshow:matrix.orgsshowWow. There it is! I've been searching all over, except ALL over :)18:53:09
@sshow:matrix.orgsshowThanks a lot for the help! I'll probably get it working properly now18:54:27
9 Jul 2021
@hmenke:matrix.orghmenke
In reply to @hmenke:matrix.org
Seems like I just exchanged one problem for another. There is now a weird delay in rendering. I type something in the terminal and it looks like it hangs but in reality the screen is just not refreshed.
You remember my weird flickering problems? Turns out this was not GNOME at all but the video driver. The GPU of the Intel i7-1185G7 needs i915.enable_psr=0 as a boot option (i.e. turn off Panel Self Refresh).
20:14:19
10 Jul 2021
@iclanzan:matrix.orgiclanzan joined the room.19:05:40
11 Jul 2021
@catunlock:matrix.orgSuNLoCK joined the room.17:13:40
13 Jul 2021
@gilganix:matrix.org-(𝕂eloτ)- changed their display name from -(NIX/ℝτ)- to -(𝕂eloτ)-.14:47:50

There are no newer messages yet.


Back to Room ListRoom Version: 6