From b76cf0b54c6d6108466a7ca67e4a952e6017bca7 Mon Sep 17 00:00:00 2001 From: Sebastien Maret Date: Wed, 5 Sep 2018 12:17:05 +0200 Subject: gildas: ignore clang warnings for unused command line arguments See #46044 --- pkgs/applications/science/astronomy/gildas/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications') diff --git a/pkgs/applications/science/astronomy/gildas/default.nix b/pkgs/applications/science/astronomy/gildas/default.nix index 8b01ef0c7713..d74eee4190df 100644 --- a/pkgs/applications/science/astronomy/gildas/default.nix +++ b/pkgs/applications/science/astronomy/gildas/default.nix @@ -24,6 +24,8 @@ stdenv.mkDerivation rec { patches = [ ./wrapper.patch ./return-error-code.patch ./clang.patch ./aarch64.patch ./gag-font-bin-rule.patch ]; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument"; + configurePhase='' substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out substituteInPlace admin/wrapper.sh --replace '%%PYTHONHOME%%' ${python27Env} -- cgit 1.4.1