diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-11-26 23:37:50 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-11-26 23:40:03 +0100 |
commit | a68c1adc35920fa9ee7faf4311f2ad5311a92e99 (patch) | |
tree | 9a2647bdead408d5cb3e64c974413cc6e06dc8a6 /pkgs/development/compilers | |
parent | 3ef186bdb415ba9324d461ff0c182d1e97c7a3d2 (diff) | |
download | nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.tar nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.tar.gz nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.tar.bz2 nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.tar.lz nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.tar.xz nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.tar.zst nixlib-a68c1adc35920fa9ee7faf4311f2ad5311a92e99.zip |
*: fix builds by disregarding warning from new glibc
Says: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" CC: #4803. There will likely appear more of these errors on Hydra in time.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/go/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/go/default.nix b/pkgs/development/compilers/go/default.nix index e289ce14ee11..b35159c10e79 100644 --- a/pkgs/development/compilers/go/default.nix +++ b/pkgs/development/compilers/go/default.nix @@ -60,6 +60,8 @@ stdenv.mkDerivation { else throw "Unsupported system"; GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5"; + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; + installPhase = '' mkdir -p "$out/bin" export GOROOT="$(pwd)/" |