summary refs log tree commit diff
path: root/pkgs/applications/version-management/rcs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-08-20 08:09:55 -0400
committerShea Levy <shea@shealevy.com>2015-08-20 08:10:27 -0400
commitb661ebe3cbef28e81ea70f42cc6ea6af16a30144 (patch)
treec2c1f0202cac9ee9feccc14529951e862e8f4ea6 /pkgs/applications/version-management/rcs
parent2d4b6405b36ca801a5f8d1a6b0a8e932db287969 (diff)
downloadnixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.tar
nixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.tar.gz
nixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.tar.bz2
nixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.tar.lz
nixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.tar.xz
nixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.tar.zst
nixlib-b661ebe3cbef28e81ea70f42cc6ea6af16a30144.zip
rcs: Use c99 on darwin
Diffstat (limited to 'pkgs/applications/version-management/rcs')
-rw-r--r--pkgs/applications/version-management/rcs/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/rcs/default.nix b/pkgs/applications/version-management/rcs/default.nix
index 266ab81777bd..a829af8aa235 100644
--- a/pkgs/applications/version-management/rcs/default.nix
+++ b/pkgs/applications/version-management/rcs/default.nix
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
 
+  NIX_CFLAGS_COMPILE = if stdenv.isDarwin then "-std=gnu99" else null;
+
   meta = {
     homepage = http://www.gnu.org/software/rcs/;
     description = "Revision control system";