From 1d19eeefeea4cb51d96592712acc4443c42efd0b Mon Sep 17 00:00:00 2001 From: Atemu Date: Sun, 26 Mar 2023 14:20:32 +0200 Subject: [PATCH] nixos/opengl: fix wrong function application No idea how that one slipped through. Thanks for catching @maxeaubrey! --- nixos/modules/hardware/opengl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index b16315eb121f..c4b93db22bef 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -99,7 +99,7 @@ in You should only need to adjust this if you require a newer Mesa version for your hardware or because you need to patch a bug. ''; - apply = mesa: mesa.drivers or throw "`mesa` package must have a `drivers` output."; + apply = mesa: mesa.drivers or (throw "`mesa` package must have a `drivers` output."); }; mesaPackage32 = mkOption { type = types.package; @@ -110,7 +110,7 @@ in Same as {option}`mesaPackage` but for the 32-bit Mesa on 64-bit systems. Used when {option}`driSupport32Bit` is set. ''; - apply = mesa: mesa.drivers or throw "`mesa` package must have a `drivers` output."; + apply = mesa: mesa.drivers or (throw "`mesa` package must have a `drivers` output."); }; extraPackages = mkOption {