nixos/virtualisation.docker: Do not assert 32 bit libraries available on ARM (#246179)

This commit is contained in:
James Baker 2023-08-11 09:49:25 +01:00 committed by GitHub
parent e8fb7eec13
commit 09d32e2612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,8 +236,8 @@ in
};
assertions = [
{ assertion = cfg.enableNvidia -> config.hardware.opengl.driSupport32Bit or false;
message = "Option enableNvidia requires 32bit support libraries";
{ assertion = cfg.enableNvidia && pkgs.stdenv.isx86_64 -> config.hardware.opengl.driSupport32Bit or false;
message = "Option enableNvidia on x86_64 requires 32bit support libraries";
}];
virtualisation.docker.daemon.settings = {