From 0b89dfd360a80ad24f6ae4d8f08ab1f2476ccd29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 17 Jun 2021 12:37:07 +0200 Subject: [PATCH] llvm_9: avoid aarch64 rebuilds introduced by b20716b4db3 Due to a builder outage the aarch64-linux queue got long after all. x86_64-darwin build had failed before the change, so I just left it. --- pkgs/development/compilers/llvm/9/llvm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/9/llvm.nix b/pkgs/development/compilers/llvm/9/llvm.nix index afca35822a47..ce53d5f9b5bd 100644 --- a/pkgs/development/compilers/llvm/9/llvm.nix +++ b/pkgs/development/compilers/llvm/9/llvm.nix @@ -55,7 +55,7 @@ in stdenv.mkDerivation (rec { propagatedBuildInputs = [ ncurses zlib ]; - patches = [ + patches = stdenv.lib.optionals stdenv.isx86_64 [ # minimize rebuilds, for now at least # Force a test to evaluate the saved benchmark for a CPU for which LLVM has # an execution model. See NixOS/nixpkgs#119673. ../exegesis-force-bdver2.patch