6 Jul 2021 |
piegames | 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 | * (totally the wrong channel ^^) | 12:25:15 |
| spacesbot - 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 joined the room. | 11:40:40 |
sshow | Hey! 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 |
Jan Tojnar | sshow: sorry, got distracted – this is weird | 18:09:32 |
Jan Tojnar | there is no such service file | 18:09:55 |
Jan Tojnar | as far as I can tell, GNOME Shell binds to that D-Bus address at runtime | 18:10:54 |
Jan Tojnar | sshow: does this persist after restarting? | 18:11:11 |
sshow | Yeah. I have been unable to lock at all since swotching to gnome. Locking is native im GNOME, right? | 18:12:16 |
Jan Tojnar | yeah, it works for me here | 18:16:29 |
Jan Tojnar | sshow: I presume you mean GNOME Shell? | 18:17:22 |
Jan Tojnar | do you also use GDM? | 18:17:49 |
sshow | yeah, I'm on services.xserver.desktopManager.gnome.enable = true . | 18:33:31 |
Jan Tojnar | sshow: what about the display manager? | 18:35:34 |
Jan Tojnar | other than GDM had issues with screen locking in the past | 18:36:00 |
sshow | i 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-L289 | 18:38:36 |
Jan Tojnar | sshow: that is just for generating default config by nixos-generate-config command | 18:40:12 |
Jan Tojnar | you will need to add it explicitly to your config | 18:40:19 |
sshow | oh. | 18:42:54 |
sshow | strange thing is that everyting else seems to work :) but, actually.. I'm running lightdm | 18:43:46 |
Jan Tojnar | sshow: yeah, the screen lock is implemented as part of gnome-shell that is executed by GDM IIRC | 18:46:27 |
sshow | makes a lot of sense :) | 18:46:38 |
Jan Tojnar | https://nixos.org/manual/nixos/stable/index.html#sec-gnome-faq-can-i-use-lightdm-with-gnome | 18:47:07 |
sshow | Wow. There it is! I've been searching all over, except ALL over :) | 18:53:09 |
sshow | Thanks a lot for the help! I'll probably get it working properly now | 18:54:27 |
9 Jul 2021 |
hmenke | 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 joined the room. | 19:05:40 |
11 Jul 2021 |
| SuNLoCK joined the room. | 17:13:40 |
13 Jul 2021 |
| -(𝕂eloτ)- changed their display name from -(NIX/ℝτ)- to -(𝕂eloτ)-. | 14:47:50 |