summary refs log tree commit diff
path: root/nixos/modules/config/no-x-libs.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-02-21 21:06:45 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-02-21 21:14:08 +0100
commita4f63a6e772af8a4062800ea616d4c8b6148dc51 (patch)
tree823e26e172edfa3f87116b050e24f0ca0851bc39 /nixos/modules/config/no-x-libs.nix
parent27a45b0e108271bcbc499776c9962c862589c17a (diff)
downloadnixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.tar
nixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.tar.gz
nixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.tar.bz2
nixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.tar.lz
nixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.tar.xz
nixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.tar.zst
nixpkgs-a4f63a6e772af8a4062800ea616d4c8b6148dc51.zip
nixos/no-x-libs: hide qt5's self
Diffstat (limited to 'nixos/modules/config/no-x-libs.nix')
-rw-r--r--nixos/modules/config/no-x-libs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/config/no-x-libs.nix b/nixos/modules/config/no-x-libs.nix
index eb1e41a3d8d..763c2038f6d 100644
--- a/nixos/modules/config/no-x-libs.nix
+++ b/nixos/modules/config/no-x-libs.nix
@@ -61,9 +61,9 @@ 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': {
+      qt5 = super.qt5.overrideScope' (const (super': {
         qtbase = super'.qtbase.override { withGtk3 = false; };
-      });
+      }));
       stoken = super.stoken.override { withGTK3 = false; };
       # translateManpages -> perlPackages.po4a -> texlive-combined-basic -> texlive-core-big -> libX11
       util-linux = super.util-linux.override { translateManpages = false; };