From 3235f451dbb4b4b7475f197849e2a9d4a20c4ad4 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 6 Jan 2021 04:20:00 +0000 Subject: [PATCH] nomad: fix build on darwin --- pkgs/top-level/all-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 100a2aea8530..f979f56083f7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6140,17 +6140,17 @@ in nomad_0_11 = callPackage ../applications/networking/cluster/nomad/0.11.nix { buildGoPackage = buildGo114Package; inherit (linuxPackages) nvidia_x11; - nvidiaGpuSupport = config.cudaSupport or (!stdenv.isLinux); + nvidiaGpuSupport = config.cudaSupport or false; }; nomad_0_12 = callPackage ../applications/networking/cluster/nomad/0.12.nix { buildGoPackage = buildGo114Package; inherit (linuxPackages) nvidia_x11; - nvidiaGpuSupport = config.cudaSupport or (!stdenv.isLinux); + nvidiaGpuSupport = config.cudaSupport or false; }; nomad_1_0 = callPackage ../applications/networking/cluster/nomad/1.0.nix { buildGoPackage = buildGo115Package; inherit (linuxPackages) nvidia_x11; - nvidiaGpuSupport = config.cudaSupport or (!stdenv.isLinux); + nvidiaGpuSupport = config.cudaSupport or false; }; notable = callPackage ../applications/misc/notable { };