From 514f67e3a89d2dc98aba1761f75210a649f2cf6c Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 16 Jan 2018 13:38:37 -0600 Subject: [PATCH] clang-{4,5}: set postBuild to empty string to avoid rebuild for now --- pkgs/development/compilers/llvm/4/clang/default.nix | 3 +++ pkgs/development/compilers/llvm/5/clang/default.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkgs/development/compilers/llvm/4/clang/default.nix b/pkgs/development/compilers/llvm/4/clang/default.nix index 81819f72c41..f9d1e526152 100644 --- a/pkgs/development/compilers/llvm/4/clang/default.nix +++ b/pkgs/development/compilers/llvm/4/clang/default.nix @@ -37,6 +37,9 @@ let patches = [ ./purity.patch ]; + # XXX: TODO: This should be removed on next rebuild + postBuild = ""; + postPatch = '' sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/ToolChains.cpp diff --git a/pkgs/development/compilers/llvm/5/clang/default.nix b/pkgs/development/compilers/llvm/5/clang/default.nix index fdcfbfc3f3e..749074ef53a 100644 --- a/pkgs/development/compilers/llvm/5/clang/default.nix +++ b/pkgs/development/compilers/llvm/5/clang/default.nix @@ -37,6 +37,9 @@ let patches = [ ./purity.patch ]; + # XXX: TODO: This should be removed on next rebuild + postBuild = ""; + postPatch = '' sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' \ -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' \