From b3cb07e1300ce1be30f14011a8274615de38e23d Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 10 Aug 2016 21:06:22 -0500 Subject: [PATCH] lie: only build on linux Darwin build fails from conflicts in libSystem: In file included from altdom.c:1: In file included from /private/var/folders/7t/4vz31njj37b8y_bg6z3t7tk00000gn/T/nix-build-LiE-2.2.2.drv-0/LiE/lie.h:34: In file included from /nix/store/9ll4m9yx854hr64fn1w9ra3qimm3pzdk-Libsystem-osx-10.9.5/include/string.h:176: /nix/store/9ll4m9yx854hr64fn1w9ra3qimm3pzdk-Libsystem-osx-10.9.5/include/strings.h:73:7: error: redefinition of 'index' as different kind of symbol char *index(const char *, int) __POSIX_C_DEPRECATED(200112L); ^ /private/var/folders/7t/4vz31njj37b8y_bg6z3t7tk00000gn/T/nix-build-LiE-2.2.2.drv-0/LiE/lie.h:6:14: note: previous definition is here typedef long index; ^ 1 error generated. --- pkgs/applications/science/math/LiE/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/math/LiE/default.nix b/pkgs/applications/science/math/LiE/default.nix index 8e284f5c3283..515b7e272899 100644 --- a/pkgs/applications/science/math/LiE/default.nix +++ b/pkgs/applications/science/math/LiE/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { characteristics, we refer to the following sources of information. ''; # take from the website - platforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.linux; maintainers = [ ]; # this package is probably not going to change anyway };