From bf3a80753a1adbfb88088cf9a764fd4136332cff Mon Sep 17 00:00:00 2001 From: Armeen Mahdian Date: Fri, 13 May 2022 14:58:23 -0500 Subject: [PATCH] clfft: fix --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c3226537e8ba..3007301097c3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16827,7 +16827,9 @@ with pkgs; classads = callPackage ../development/libraries/classads { }; - clfft = callPackage ../development/libraries/clfft { }; + clfft = callPackage ../development/libraries/clfft { + stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv; + }; clipp = callPackage ../development/libraries/clipp { };