about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro2024-06-18 13:33:43 +0200
committerGitHub2024-06-18 13:33:43 +0200
commitcc608813982c9eb0c3c3f5397db1d5f70091c53b (patch)
treea0495085a1b41701cb14b0ba5b820e911b328984
parent03938a7a09ba31f39eae5384dc14617950d4b2c8 (diff)
parent34b5204d7e3baedc6e66c630f84dc9e26a8d3e22 (diff)
Merge pull request #320640 from NixOS/backport-318348-to-release-24.05
[Backport release-24.05] nixos/no-x-libs: fix gjs
-rw-r--r--nixos/modules/config/no-x-libs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/no-x-libs.nix b/nixos/modules/config/no-x-libs.nix
index 20b9e0ca65d0..95020f014571 100644
--- a/nixos/modules/config/no-x-libs.nix
+++ b/nixos/modules/config/no-x-libs.nix
@@ -39,7 +39,7 @@ with lib;
       # dep of graphviz, libXpm is optional for Xpm support
       gd = super.gd.override { withXorg = false; };
       ghostscript = super.ghostscript.override { cupsSupport = false; x11Support = false; };
-      gjs = super.gjs.overrideAttrs { doCheck = false; installTests = false; }; # avoid test dependency on gtk3
+      gjs = (super.gjs.override { installTests = false; }).overrideAttrs { doCheck = false; }; # avoid test dependency on gtk3
       gobject-introspection = super.gobject-introspection.override { x11Support = false; };
       gpg-tui = super.gpg-tui.override { x11Support = false; };
       gpsd = super.gpsd.override { guiSupport = false; };