From a9d19d98163a9de10583c63e2d5b0ef088a93a7e Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 21 Dec 2023 02:27:39 +0100 Subject: [PATCH] Don't require i686 on aarch64 --- nixGL.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixGL.nix b/nixGL.nix index a4aeb55..ad1fba1 100644 --- a/nixGL.nix +++ b/nixGL.nix @@ -12,8 +12,8 @@ nvidiaVersionFile ? null, # Enable 32 bits driver # This is one by default, you can switch it to off if you want to reduce a # bit the size of nixGL closure. -enable32bits ? true -, writeTextFile, shellcheck, pcre, runCommand, linuxPackages +enable32bits ? stdenv.hostPlatform.isx86 +, stdenv, writeTextFile, shellcheck, pcre, runCommand, linuxPackages , fetchurl, lib, runtimeShell, bumblebee, libglvnd, vulkan-validation-layers , mesa, libvdpau-va-gl, intel-media-driver, pkgsi686Linux, driversi686Linux , zlib, libdrm, xorg, wayland, gcc }: