!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
29 Jun 2021
@jtojnar:matrix.orgJan Tojnarbut settings for GDM are not easily accessible22:27:54
@ryantm:matrix.orgryantmSounds good. I guess I should make a more global (non-GNOME) no suspend option that enables the polkit.22:28:04
@jtojnar:matrix.orgJan Tojnarfor the record, this is how I do it (https://github.com/jtojnar/nixfiles/blob/28a348c486e749f15be23f59e7cbea8efb08378f/hosts/theo/configuration.nix#L279-L306)22:29:21
@jtojnar:matrix.orgJan Tojnar(overrides the default value so it will work for all users that did not fiddle with the power settings before)22:30:00
@ryantm:matrix.orgryantmI think we can resolve https://github.com/NixOS/nixpkgs/issues/100390 by improving the option's documentation.22:31:22
@jtojnar:matrix.orgJan Tojnar * for the record, this is how I do it: https://github.com/jtojnar/nixfiles/blob/28a348c486e749f15be23f59e7cbea8efb08378f/hosts/theo/configuration.nix#L279 & https://github.com/jtojnar/nixfiles/blob/28a348c486e749f15be23f59e7cbea8efb08378f/hosts/theo/configuration.nix#L300-L30622:33:53
@jtojnar:matrix.orgJan Tojnar *

for the record, this is how I do it:

  • https://github.com/jtojnar/nixfiles/blob/28a348c486e749f15be23f59e7cbea8efb08378f/hosts/theo/configuration.nix#L279
  • https://github.com/jtojnar/nixfiles/blob/28a348c486e749f15be23f59e7cbea8efb08378f/hosts/theo/configuration.nix#L300-L306
22:34:12
@jtojnar:matrix.orgJan Tojnardefinitely22:34:40
30 Jun 2021
@ryantm:matrix.orgryantmhere we go: https://github.com/NixOS/nixpkgs/pull/12871502:39:07
5 Jul 2021
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.18:42:59
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels 19:00:07
6 Jul 2021
@hmenke:matrix.orghmenkeToday GNOME started segfaulting on NixOS 21.0511:47:33
@hmenke:matrix.orghmenkeAfter segfaulting all extensions are disabled and it starts normally.11:48:02
@piegames:matrix.orgpiegamesEnable the extensions one by one until you can reproduce11:48:26
@hmenke:matrix.orghmenkeIt's any extension that makes it segfault11:54:16
@hmenke:matrix.orghmenkeDownload gdb.txt11:55:04
@hmenke:matrix.orghmenke The backtrace from coredumpctl debug 11:55:20
@hexa:lossy.networkhexahuh, luckily not related to my spidermonkey update (78.8.0 -> 78.11.0)11:57:52
@hmenke:matrix.orghmenkehttps://bugzilla.redhat.com/show_bug.cgi?id=1962974 https://bugzilla.redhat.com/show_bug.cgi?id=196373711:58:01
@hmenke:matrix.orghmenkeLooks similar11:58:11
@piegames:matrix.orgpiegamesWait, why are these reports on a Bugzilla?11:59:03
@hmenke:matrix.orghmenkeBecause they are RedHat bugs?11:59:45
@jtojnar:matrix.orgJan Tojnarweird. why is the "potential duplicate" bug closed12:02:21
@jtojnar:matrix.orgJan Tojnar * weird. why is the "potential duplicate" bug hidden12:02:27
@hmenke:matrix.orghmenke

Jan Tojnar:

You are not authorized to access bug #1960548.

Most likely the bug has been restricted for internal development processes and we cannot grant access.

If you are a Red Hat customer with an active subscription, please visit the Red Hat Customer Portal for assistance with your issue

If you are a Fedora Project user and require assistance, please consider using one of the mailing lists we host for the Fedora Project.

12:05:57
@hmenke:matrix.orghmenkeEven after login it's not visible.12:06:12
@hmenke:matrix.orghmenkeMaybe it's exploitable and there is an embargo.12:06:22
@jtojnar:matrix.orgJan Tojnar Jan Tojnar: no particular reason, that bug 1960548 is a duplicate itself of https://bugzilla.redhat.com/show_bug.cgi?id=1957952 12:16:29
@jtojnar:matrix.orgJan Tojnarwhich mentions https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/434412:16:50
@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

Show newer messages


Back to Room ListRoom Version: 6