From 1859e56a7f60d3fc4f6eeebd0bf5eda414d5a5c2 Mon Sep 17 00:00:00 2001 From: ckie Date: Fri, 27 Jan 2023 19:21:35 +0200 Subject: [PATCH] nixos/no-x-libs: don't mask self/super in nested override From SuperSandro2000's post-merge review of the PR adding this, nixos/no-x-libs: add qtbase. Sandro added a comment about this after I had already merged it; self'/super' previously masked the top level self/super. --- nixos/modules/config/no-x-libs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/config/no-x-libs.nix b/nixos/modules/config/no-x-libs.nix index 9542de9fa1f6..1d0bc73cac2a 100644 --- a/nixos/modules/config/no-x-libs.nix +++ b/nixos/modules/config/no-x-libs.nix @@ -59,8 +59,8 @@ with lib; pinentry = super.pinentry.override { enabledFlavors = [ "curses" "tty" "emacs" ]; withLibsecret = false; }; qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; }; qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; }); - qt5 = super.qt5.overrideScope' (self: super: { - qtbase = super.qtbase.override { withGtk3 = false; }; + qt5 = super.qt5.overrideScope' (self': super': { + qtbase = super'.qtbase.override { withGtk3 = false; }; }); stoken = super.stoken.override { withGTK3 = false; }; # translateManpages -> perlPackages.po4a -> texlive-combined-basic -> texlive-core-big -> libX11