Unverified Commit 57033648 authored by K900's avatar K900 Committed by GitHub
Browse files

nixos/graphics: clarify assertion message for enable32Bit configuration (#355033)

parents ec087482 8b1cd096
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ in
    assertions = [
      {
        assertion = cfg.enable32Bit -> pkgs.stdenv.hostPlatform.isx86_64;
        message = "`hardware.graphics.enable32Bit` only makes sense on a 64-bit system.";
        message = "`hardware.graphics.enable32Bit` is only supported on an x86_64 system.";
      }
      {
        assertion = cfg.enable32Bit -> (config.boot.kernelPackages.kernel.features.ia32Emulation or false);